|
<< Index >> |
FutureBasic |
button | statement / function | |
|
state = button (tag )
Description
The
Parameters
Parameter |
Description |
tag | A number (1 through 1000000) that you assign when you create the button and that you refer to when altering or closing the button. 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 button. |
enabled | A boolean value which specifies whether the button should be enabled or disabled. |
state | The button state: |
title | The text that appears inside the button (in the case of push buttons) or to the right of the button (in the case of checkboxes and radio buttons) as a CFString expression. |
rect | The button'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 button. (ii) A |
type | The button type: |
style | The button style: |
wndTag | An optional parameter for when the button'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 Event
Subclass
To subclass a nib
See also
checkbox; radiobutton
Apple Documentation
NSButton