FutureBasic Logo

<<    Index    >> FutureBasic

SplitView   statement



Syntax
splitview tag, rect, vertical, dividerStyle, wndTag

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

Parameters
Parameter
Description
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:
NSSplitViewDividerStyleThick
NSSplitViewDividerStyleThin
NSSplitViewDividerStylePaneSplitter
(default)
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
_splitViewResizeSubviewsWithOldSize
_splitViewWillResizeSubviews
_splitViewDidResizeSubviews
_splitViewCanCollapseSubview
_splitViewShouldAdjustSizeOfSubview
_splitViewEffectiveRect
_splitViewShouldHideDividerAtIndex
_splitViewShouldHideDividerAtIndex
_splitViewConstrainMaxCoordinate
_splitViewConstrainMinCoordinate
_splitViewConstrainSplitPosition
_splitViewDividerColor // subclass only
_splitViewDividerThickness // subclass only
_splitViewDrawDividerInRect // subclass only
 

Apple documentation
NSSplitView