@...CHECKBOX \/ DEFINE CHECKBOX

Creates a checkbox control

Standard Syntax (xBase Style):

 @ <nRow> ,<nCol>
 CHECKBOX <ControlName>
 [ OF | PARENT <ParentWindowName> ]
 CAPTION <cCaption>
 [ WIDTH <nWidth>] [ HEIGHT <nHeight> ]
 [ VALUE <lValue> ]
 [ FIELD <FieldName> ]
 [ FONT <cFontName> SIZE <nFontSize> ]
 [ BOLD ] [ ITALIC ] [ UNDERLINE ] [ STRIKEOUT ]
 [ TOOLTIP <cToolTipText> ]
 [ BACKCOLOR <aBackColor> ]
 [ FONTCOLOR <aFontColor> ]
 [ ON GOTFOCUS <OnGotFocusProcedur> | <bBlock> ]
 [ ON CHANGE <OnChangeProcedure> | <bBlock> ]
 [ ON LOSTFOCUS <OnLostFocusProcedure> | <bBlock> ]
 [ ON ENTER <OnEnterProcedure> | <bBlock> ]
 [ TRANSPARENT ]
 [ HELPID <nHelpId> ]
 [ INVISIBLE ]
 [ NOTABSTOP ]

Alternate Syntax:

DEFINE CHECKBOX <ControlName>
   PARENT <ParentWindowName>
   ROW <nValue>
   COL <nValue>
   CAPTION <cCaption>
   VALUE <lValue>
   FIELD <FieldName>
   WIDTH <nValue>
   HEIGHT <nValue>
   FONTNAME <cValue>
   FONTSIZE <nValue>
   FONTBOLD <lValue>
   FONTITALIC <lValue>
   FONTUNDERLINE <lValue>
   FONTSTRIKEOUT <lValue>
   TOOLTIP <cValue>
   BACKCOLOR <aBackColor>
   FONTCOLOR <aFontColor>
   ONGOTFOCUS <OnGotFocusProcedure>
   ONCHANGE <OnChangeProcedure>
   ONLOSTFOCUS <OnLostFocusProcedure>
   ONENTER <OnEnterProcedure>
   TRANSPARENT <lValue>
   HELPID <nHelpId>
   VISIBLE <lValue>
   TABSTOP <lValue>
END CHECKBOX

Properties:

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

Events**:**

  • OnGotFocus
  • OnChange
  • OnLostFocus
  • OnEnter

Methods:

  • Show
  • Hide
  • SetFocus
  • Release
  • Refresh
  • Save

results matching ""

    No results matching ""