### Divider Position Set

To set the position use:
SplitPane.DividerPositions = Array As Double(SplitPane1Index, SplitPane2Index, ...)
The index between 0 and 1
Example
One SplitPane Node is defined in a main layout:
Private splitMain As SplitPane
Layouts (created with the B4J Visual Designer) added to the MainForm:
MainForm.RootPane.LoadLayout("Main") 'Main holding the splitpane
splitMain.LoadLayout("PaneLeft") 'Left pane
splitMain.LoadLayout("PaneRight") 'Right pane
Splitpane Position
Set the SplitPane position at 20% to the right in the main form:
splitMain.DividerPositions = Array As Double(0.2)
Note:
To get the divider position of a SplitPane as defined using the B4J Visual Designer, use
SplitPane.DividerPositions(DividerIndex)

Changed: 2018-05-06 17:39, Category: SplitPane, File: T6C253M1813.htm, ID: 1813