Code: Select all
SetGadgetItemState(#Gadget, item, #PB_Splitter_Collapsed)
item 0 the first panel, 1 the second panel
It is a very common behaviour.
Code: Select all
SetGadgetItemState(#Gadget, item, #PB_Splitter_Collapsed)
item 0 the first panel, 1 the second panel