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

[Done] 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
Fred
Site Admin
 
Posts: 1134
Joined: Mon Feb 24, 2014 10:51 am

Re: 2.21B : PanelGadget - Previous GadgetList not restored

by Fred Sun Jan 27, 2019 1:39 pm

Fixed.
Return to Bugs Reports

Who is online

Users browsing this forum: No registered users and 3 guests