A
PUSHBUTTON is a box containing text that is either "not selected"
and therefore printed in normal black-on-white text mode, or
"selected" in which case it is printed in reverse with a black
background and white text (Highlighted). The user changes a PushButton from
selected to not selected or vice versa by tapping on it. PushButton objects are
normally used to indicate a choice of some parameter or value where the
possible choices are either yes/no, on/off, etc. Use the Group ID property to make PushButtons mutually exclusive.
Properties Supported (Set at design time)
Label, Font ID, Text, Group ID, Anchor Left, Selected, Visible
Methods Supported (See "Methods")
Left, Top, Width, Height ,Hide, Show, Redraw, Text, Status, ID, Index, Type
Example
Msgbox "The PushButton status is " + str(selYesNo.status)
if mydb_yes_no_fld=1 then selYesNo.status = nsbOn else selYesNo.status = nsbOff