SplitObj2 Property
Applies To: Splitter

Description

The SplitObj2 property specifies the name of, or ref to, one of up to two objects managed by a Splitter object. The object must be one of the following types:

Button Calendar Combo Edit Grid Group
Label List ListView MDIClient ProgressBar RichEdit
Scroll Spinner Static StatusBar SubForm TabBar
TabControl ToolBar TrackBar TreeView UpDown  

If the Style property of the Splitter is 'Vert', the object specified by SplitObj2 is initially positioned at (0 x), where x is half the width of the parent plus the Size of the Splitter, and sized to occupy the space in its parent to the right of the Splitter, with the Splitter itself attached to its left edge.

If the Style property of the Splitter is 'Horz', the object specified by SplitObj2 is initially positioned at (y 0), where y is half the height of the parent plus the Size of the Splitter, and sized to occupy the space in its parent below the Splitter, with the Splitter itself attached to its top edge.

If SplitObj2 is empty, the Splitter manages the single object specified by SplitObj1 and the space to the right or below the Splitter is empty or controlled by a second Splitter.