Syntax
DocSplit Percentage
DocSplit()
Remarks
The DocSplit statement splits the active document window at the given height, expressed as a percentage of the distance between the top and bottom of the document area.
The DocSplit() function returns the split position as a percentage of the active document area's height or returns 0 (zero) if the document window is not split.
The DocSplit statement accepts values between 0 (zero) and 100, but values near the ends of the range may not split the document window, depending on the screen elements that are displayed and the size of the window. Using the WindowPane() function, you can determine whether a window is split.
Example
This example splits the active document window in the middle:
DocSplit 50
See Also
ClosePane, OtherPane, WindowPane()