### Orientation

The orientation of a SplitPane can be set or get by using API Methods getOrientation and setOrientation.
This requires the JavaObject library.
Orientations are
HORIZONTAL: right <-> left orientation
VERTICAL: top <-> bottom orientation
Dim joSplitPane As JavaObject = splitMain
Example Get Orientation
Log(joSplitPane.RunMethod("getOrientation", Null)) 'HORIZONTAL
Example Set Orientation from Horizontal to Vertical
Log(joSplitPane.RunMethod("getOrientation", Null)) 'HORIZONTAL
joSplitPane.RunMethod("setOrientation", Array("VERTICAL"))
Log(joSplitPane.RunMethod("getOrientation", Null)) 'VERTICAL

Changed: 2018-04-01 11:38, Category: SplitPane, File: T6C253M2154.htm, ID: 2154