@...EDITBOX \/ DEFINE EDITBOX

Creates an EditBox control

Standard Syntax (xBase Style):

 @ <nRow> ,<nCol>
 EDITBOX<ControlName>
 [ OF | PARENT <ParentWindowName> ]
 WIDTH <nWidth>
 HEIGHT <nHeight>
 [ FIELD <FieldName> ]
 [ VALUE <cValue> ]
 [ READONLY ]
 [ FONT <cFontName> SIZE <nFontSize> ]
 [ BOLD ] [ ITALIC ] [ UNDERLINE ] [ STRIKEOUT ]
 [ TOOLTIP <cToolTipText> ]
 [ BACKCOLOR <aColor> ]
 [ FONTCOLOR <aColor> ]
 [ DISABLEDBACKCOLOR <aColor> ]
 [ DISABLEDFONTCOLOR <aColor> ]
 [ MAXLENGTH <nInputLength> ]
 [ ON GOTFOCUS <OnGotFocusProcedur> | <bBlock> ]
 [ ON CHANGE <OnChangeProcedure> | <bBlock> ]
 [ ON LOSTFOCUS <OnLostFocusProcedure> | <bBlock> ]
 [ HELPID <nHelpId> ]
 [ BREAK ]
 [ INVISIBLE ]
 [ NOTABSTOP ]
 [ NOVSCROLL ]
 [ NOHSCROLL ]

Alternate Syntax:

DEFINE EDITBOX <ControlName>
   PARENT <ParentWindowName>
   ROW <nValue>
   COL <nValue>
   WIDTH <nValue>
   HEIGHT <nValue>
   FONTNAME <cValue>
   FONTSIZE <nValue>
   FONTBOLD <lValue>
   FONTITALIC <lValue>
   FONTUNDERLINE <lValue>
   FONTSTRIKEOUT <lValue>
   TOOLTIP <cValue>
   ONGOTFOCUS <ActionProcedure>
   ONLOSTFOCUS <ActionProcedure>
   ONCHANGE <ActionProcedure>
   TABSTOP <lValue>
   HELPID <nValue>
   VISIBLE <lValue>
   FIELD <FieldName>
   VALUE <cValue>
   READONLY <lValue>
   BREAK <lValue>
   VSCROLLBAR <lValue>
   HSCROLLBAR <lValue>
   BACKCOLOR <aColor>
   FONTCOLOR <aColor>
   DISABLEDBACKCOLOR <aColor>
   DISABLEDFONTCOLOR <aColor>
END EDITBOX

Properties:

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

Events:

  • OnGotFocus
  • OnChange
  • OnLostFocus

Methods:

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

results matching ""

    No results matching ""