If i create for example A containerGadget in an AreaGadget, it's possible to have several GadgetList one inside other like this :
Code: Select all
OpenWindow(#Window_0, 216, 0, 619, 279, "New window ( 0 )", #PB_Window_SystemMenu | #PB_Window_SizeGadget | #PB_Window_TitleBar )
ScrollAreaGadget(#ScrollArea_0, 21, 27, 581, 233, 1162, 466, 10)
ContainerGadget(#Container_0, 40, 41, 352, 138, #PB_Container_Raised)
If a = x
ScrollAreaGadget(#ScrollArea_1, 31, 19, 249, 96, 498, 192, 10)
EndIf
Code .....
Code .....
Code .....
Code .....
Code .....
If IsGadgetList(#ScrollArea_1)
CloseGadgetList(#ScrollArea_1)
EndIf
CloseGadgetList((#Container_0)
CloseGadgetList((#ScrollArea_0)
There is nothing way to control if all the GadgetLists is closed and furthermore an over CloseGadgetList() crash the program

Good day