Page 4 of 5
Re: GridGadget
Posted: Sun Mar 11, 2012 7:02 pm
by Polo
Loads of improvements on the Grid Gadget, added combo box and checkbox support.
Fixed quite a few things as well as improved the API, too!
Re: GridGadget
Posted: Sun Feb 10, 2013 8:08 pm
by mk-soft
File not found...

Re: GridGadget
Posted: Mon Feb 11, 2013 8:55 pm
by Polo
mk-soft wrote:File not found...

Sorry the example might not be available anymore, you never know with those free hosting services

Re: GridGadget
Posted: Sun Feb 17, 2013 2:06 pm
by Joris
Polo wrote:mk-soft wrote:File not found...

Sorry the example might not be available anymore, you never know with those free hosting services

Can someone post this file back please ?
(so that newbees don't have to reinvent all...)
Thanks.
Re: GridGadget
Posted: Sun Feb 17, 2013 2:15 pm
by Polo
This was just an executable anyway

Re: GridGadget
Posted: Mon Feb 18, 2013 11:42 am
by michel
Hello Polo,
Do you intend to publish the code and when would it be possible ?
michel
Re: GridGadget
Posted: Mon Feb 18, 2013 12:02 pm
by Polo
No, the source code is commercial, sorry!
Re: GridGadget
Posted: Sun Jan 25, 2015 10:15 am
by jdooley
Sorry to dig up an old thread, but I was just wondering where the story ends... Can one acquire this control kit now? Thanks.
Re: GridGadget
Posted: Mon Jan 26, 2015 5:33 pm
by Polo
I still haven't found a way to package it easily as a lib or dll without having to sell the source code I'm afraid!
Re: GridGadget
Posted: Thu Jan 29, 2015 11:21 am
by Henry00
Polo wrote:I still haven't found a way to package it easily as a lib or dll without having to sell the source code I'm afraid!
Difference between a header and the source code. If you create an interface of important functions using ProcedureDLL : EndProcedureDLL you can use various pointers that need to be added to each call.
This is your secret source code:
Code: Select all
;
; GridGadget Source Example:
;
ProcedureDLL GridGadget(x, y, Width, Height)
MessageRequester("GridGadget", "Noone knows what is happening here!")
...
; install secret bitcoin mining software.
...
ProcedureReturn *result
EndProcedure
You would release this header together with the .dll and .obj (for simple importing) to the public:
Code: Select all
;
; GridGadget Header Example:
;
Import "GridGadget.obj"
GridGadget(x, y, Width, Height, ...)
SetGridGadgetText(*MyGridGadget, ...)
EndImport
#GRIDGADGET_UGLY = 0
#GRIDGADGET_DETAILED = 1
And the public can then begin using it without knowing about the bitcoin miner:
Code: Select all
;
; Random code by users:
;
IncludeFile "GridGadget.pb"
*MyGridGadget = GridGadget(x, y, Width, Height, #GRIDGADGET_DETAILED, ...)
SetGridGadgetText(*MyGridGadget, ...)
We would have all the procedures, important constants and be able to use the library while your product remains closed-source.
I would be very interested in this gadget too if you ever decide to release a library as the quality is outstanding and looks very impressive.
Edit:
Although I am pretty sure you are well aware of this already by looking at your post count and product =]
Re: GridGadget
Posted: Fri Jan 30, 2015 7:13 pm
by Polo
I don't mind selling the source but it's obviously at a high price considering the hundreds of hours I put into it!
The problem with doing what you described is that it does not work, as I use Purebasic canvas and it does not work properly when put into a DLL or library on OS X

Re: GridGadget
Posted: Thu Oct 27, 2016 6:46 pm
by mk-soft
Most of Gadget functions work only on main scope.
The best way is to draw and update owner gadget with canvas to use BindEvent and BindGadgetEvent...
Re: GridGadget
Posted: Mon Nov 28, 2016 3:53 am
by es_91
I'm a bit sad 'cause it was inplicitly stated that the code could be sold for Windows... but it ain't?
...
Re: GridGadget
Posted: Tue Dec 06, 2016 8:06 pm
by Polo
es_91 wrote:I'm a bit sad 'cause it was inplicitly stated that the code could be sold for Windows... but it ain't?
...
I haven't had much time to work on it recently - the grid is used in the Purebasic IDE for the form designer properties panel to see an example in action (it's fully crossplatform, not just for Windows).
I did sell the source to one or two users who were interested.
Re: GridGadget
Posted: Wed Aug 22, 2018 5:56 am
by Rinzwind
The way all grid gadgets of PB go... dodo vanished. About time PB includes a decent one out of the box instead of reinventing the wheel squarely every time.