@...CHECKBUTTON \/ DEFINE CHECKBUTTON
Creates a CheckButton control
Standard Syntax (xBase Style):
@ <nRow> ,<nCol>
CHECKBUTTON<ControlName>
[ OF | PARENT <ParentWindowName> ]
CAPTION <cCaption> | PICTURE <cPictureName>
[ WIDTH <nWidth>] [ HEIGHT <nHeight> ]
[ VALUE <lValue> ]
[ FONT <cFontName> SIZE <nFontSize> ]
[ BOLD ] [ ITALIC ] [ UNDERLINE ] [ STRIKEOUT ]
[ TOOLTIP <cToolTipText> ]
[ ON GOTFOCUS <OnGotFocusProcedur> | <bBlock> ]
[ ON CHANGE <OnChangeProcedure> | <bBlock> ]
[ ON LOSTFOCUS <OnLostFocusProcedure> | <bBlock> ]
[ ON ENTER <OnEnterProcedure> | <bBlock> ]
[ HELPID <nHelpId> ]
[ INVISIBLE ]
[ NOTABSTOP ]
[ NOTRANSPARENT ]
Alternate Syntax:
DEFINE CHECKBUTTON <Controlname>
PARENT <ParentWindowName>
ROW <nValue>
COL <nValue>
CAPTION <cValue>
WIDTH <nValue>
HEIGHT <nValue>
FONTNAME <cValue>
FONTSIZE <nValue>
FONTBOLD <lValue>
FONTITALIC <lValue>
FONTUNDERLINE <lValue>
FONTSTRIKEOUT <lValue>
TOOLTIP <cValue>
ONGOTFOCUS <ActionProcedure>
ONLOSTFOCUS <ActionProcedure>
ONCHANGE <ActionProcedure>
ON ENTER <OnEnterProcedure>
TABSTOP <lValue>
HELPID <nValue>
VISIBLE <lValue>
TRANSPARENT <lValue>
END CHECKBUTTON
Properties:
- Value
- Enabled
- Visible
- Row
- Col
- Width
- Height
- Caption
- FontName
- FontSize
- FontBold
- FontItalic
- FontUnderline
- FontStrikeout
- ToolTip
- Picture
- Name (R)
- Parent (D)
- HelpId (D)
- TabStop (D)
D: Available at control definition only R: Read-Only
- OnGotFocus
- OnChange
- OnLostFocus
- OnEnter
- Show
- Hide
- SetFocus
- Release
Note: Transparence in picture checkbuttons requires 256 or less color depth bitmaps.