Found an issue in SpiderBasic ? Please report it here !
poshu
 
Posts: 89
Joined: Mon Feb 24, 2014 11:46 pm

[Done] UseGadgetList() bug

by poshu Fri Apr 06, 2018 5:42 pm

Ok, so this one is strange : if you use UseGadgetList(), it does work visually, but still pair the newly created gadget with the gadget list used before UseGadgetList()...

... Can't explain it better than that; but I have a sweet demo :P :
Code: Select all
Procedure Handler_CloseWindow()
   CloseWindow(EventWindow())
EndProcedure
BindEvent(#PB_Event_CloseWindow,@Handler_CloseWindow())

OpenWindow(0,0,0,400,200,"This window should have a text gadget",#PB_Window_SystemMenu)
OpenWindow(1,0,200,400,200,"Close this window to showcase the UseGadgetList() bug",#PB_Window_SystemMenu)

UseGadgetList(WindowID(0))

TextGadget(0,10,10,180,20,"test, test? 1-2-3? test?")
User avatar
Peter
 
Posts: 607
Joined: Mon Feb 24, 2014 10:17 pm
Location: 127.0.0.1

Re: UseGadgetList() bug

by Peter Fri Apr 06, 2018 5:58 pm

Confirmed.
Fred
Site Admin
 
Posts: 1162
Joined: Mon Feb 24, 2014 10:51 am

Re: UseGadgetList() bug

by Fred Mon Jan 14, 2019 7:07 pm

Fixed.
Return to Bugs Reports

Who is online

Users browsing this forum: No registered users and 1 guest