FutureBasic Logo

<<    Index    >> FutureBasic

SplitView   statement

splitview tag, rect, vertical, dividerStyle, wndTag

The splitview statement puts a new splitview in the current output window, or alters an existing splitview's characteristics.

tag A number (1 through 1000000) that you assign when you create the splitview and that you refer to when altering the view. The number you assign must be different from the tag value of all other existing widgets in the current window. A negative tag hides the splitview.
rect The splitview's enclosing rectangle. This can be specified in either of two ways:
(i) (x,y,w,h) where x,y are the origin and w,h the size of the view.
(ii) A CGRect value
vertical A boolean value that indicates whether the splitview should be split vertically (default = false).
dividerStyle Specifies the divider style of splitview:
wndTag An optional parameter for when the splitview's window is not the current output window. Note specifying this parameter does not bring the window to the front or make it the output window.
Dialog events
_splitViewDividerColor // subclass only
_splitViewDividerThickness // subclass only
_splitViewDrawDividerInRect // subclass only

Apple documentation