FutureBasic Logo

<<    Index    >> FutureBasic

control   function



Syntax
value = control( tag [, selector] )

Description
The control function returns information about a control (button, view, etc.). The returned value is determined by the selector parameter. Calling this function with no selector will return the control's state.

Parameters
Parameter
Description
tag The control's tag value.
selector The information required.
_controlState (default)
_controlEnabled
_controlHidden
_controlIntVal

 
Return value
An Integer.
 

Apple documentation
NSControl
NSView