Very nice example, STARGATE (after fixing the double-clicking StartDrawing crash)
I have made a lot of Canvas-based gadgets, but I never had a good way to do animation redraws AFTER an event like LeftClick. Your example of a lightweight thread attached to the gadget is a nice method!
Custom gadget design concept with canvas
Re: Custom gadget design concept with canvas
@STARGATE
Very nice Gadget
Perhaps have my small gimmick "#PB_Event_Destroy" a future
/ http://www.purebasic.fr/english/viewtop ... 12&t=64151
for destroy Gadget resource.
Very nice Gadget

Perhaps have my small gimmick "#PB_Event_Destroy" a future

for destroy Gadget resource.
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive