in "PureBasic 6.02 LTS (Windows - x64)" is weird error with the gadgets. Code below will successfully create frame gadget and inside panel gadget. Ok. But if you will uncomment second frame gadget then panel gadget will not be rendered at all.
Code: Select all
Procedure OpenWindow_0(x = 0, y = 0, width = 600, height = 400)
OpenWindow(#PB_Any, x, y, width, height, "", #PB_Window_SystemMenu)
;FrameGadget(#PB_Any, 0, 0, 200, 100, "1111111111")
FrameGadget(#PB_Any, 0, 120, 200, 100, "222222222222")
PanelGadget(5, 10, 130, 180, 80)
AddGadgetItem(5, -1, "aaaaaaaaaaa")
CloseGadgetList()
EndProcedure
OpenWindow_0()
Repeat
WaitWindowEvent()
Until 1=2