SplitPane howto manipulate size

How can I manipulate the size of the forms in a split pane. In a SplitPane I want to show two forms underneath each other. How is the initial size of the forms determined and in what way can these sizes be set or gotten. This is not documented in the wiki pages (or I could not find it there…)

You do not set the size of forms inside the splitpane: you set the size of the splitpane itself and the divider position.

Paul

Okay! But how can the divider position be set?

Found it: elements.tabs_xxx.dividerLocation
I see, when the tabOrientation property of a TabPanel is changed to SPLIT VERTICAL or SPLIT HORIZONTAL the element gets other properties in the solution explorer. So a SplitPane is exactly the same as a TabPanel AND a SplitPane totally differs from a TabPanel. A bit confusing to me…

michel:
Found it: elements.tabs_xxx.dividerLocation
I see, when the tabOrientation property of a TabPanel is changed to SPLIT VERTICAL or SPLIT HORIZONTAL the element gets other properties in the solution explorer. So a SplitPane is exactly the same as a TabPanel AND a SplitPane totally differs from a TabPanel. A bit confusing to me…

Michel - there was a recorded webinar on this just two weeks ago! Have a search - it was really informative on how the splitbean works.

Documentation added: http://wiki.servoy.com/display/DOCS/SplitPane+(instance)

TabPanel and SplitPane are both Panel implementations, therefor they share some stuff.

Paul