Free all gadgets

Found an issue in SpiderBasic ? Please report it here !
sc4sb
Posts: 1
Joined: Tue Jul 29, 2025 1:29 pm

Free all gadgets

Post by sc4sb »

I was writing a test program where I open a window, add some gadgets, later clear all the gadgets from the window and add others...

I can remove gadgets one at a time if I keep lists of all gadget numbers manually. But this also worked to remove them all:

Code: Select all

FreeGadget(#PB_All)
...great! except it also broke the debugger window, apparently it also removed its gadgets also! (sb 3.02 on Win 10)