Found an issue in SpiderBasic ? Please report it here !
User avatar
Niffo
 
Posts: 32
Joined: Sat Jun 16, 2018 10:30 pm

2.21B : PanelGadget - Previous GadgetList not restored

by Niffo Thu Dec 06, 2018 10:49 am

Previous GadgetList is not automatically restored when adding a gadget item to a PanelGadget.

OpenWindow(0, 100, 100, 300, 300, "PanelGadget Test")
PanelGadget(0, 10,10, 280, 30)
AddGadgetItem(0, -1, "Item 1")
CloseGadgetList()

ButtonGadget(1, 50, 50, 50, 50, "Button 1")

OpenGadgetList(0)
AddGadgetItem(0, -1, "Item 2")
CloseGadgetList()

;UseGadgetList(WindowID(0))
ButtonGadget(2, 120, 120, 50, 50, "Button 2")

CompilerIf #PB_Compiler_OS <> #PB_OS_Web : Repeat : Until WaitWindowEvent() = #PB_Event_CloseWindow : CompilerEndIf
Return to Bugs Reports

Who is online

Users browsing this forum: No registered users and 1 guest