@...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:

D: Available at control definition only R: Read-Only

Events:

  • OnGotFocus
  • OnChange
  • OnLostFocus
  • OnEnter

Methods:

  • Show
  • Hide
  • SetFocus
  • Release

Note: Transparence in picture checkbuttons requires 256 or less color depth bitmaps.

results matching ""

    No results matching ""