FutureBasic Logo

<<    Index    >> FutureBasic

StackView   statement



Syntax
stackview tag, rect, horizontal, wndTag

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

Parameters
Parameter
Description
tag A number (1 through 1000000) that you assign when you create the stackview 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 stackview.
rect The stackview'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
horizontal A boolean value that indicates the horizontal (true) or vertical (false) layout direction of the stackview (default = false).
wndTag An optional parameter for when the stackview'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
_stackViewDidReattachViews
_stackViewWillDetachViews
 

Apple documentation
NSStackView