@...LABEL / DEFINE LABEL
Creates a label control
Standard Syntax (xBase Style):
@ <nRow> ,<nCol>
LABEL<ControlName>
[ OF | PARENT <ParentWindowName> ]
VALUE <cValue>
[ ACTION | ONCLICK |
ON CLICK <ActionProcedureName> | <bBlock> ]
[ WIDTH <nWidth> ]
[ HEIGHT <nHeight> ]
[ AUTOSIZE ]
[ FONT <cFontname> SIZE <nFontsize> ]
[ BOLD ] [ ITALIC ] [ UNDERLINE ] [ STRIKEOUT ]
[ TOOLTIP <cToolTipText> ]
[ BACKCOLOR <anBackColor> ]
[ FONTCOLOR <anFontColor>]
[ TRANSPARENT ]
[ RIGHTALIGN | CENTERALIGN ]
[ HELPID <nHelpId> ]
[ INVISIBLE ]
Alternate Syntax:
DEFINE LABEL
PARENT <ParentWindowName>
ROW <nValue>
COL <nValue>
VALUE <cValue>
ONCLICK <ActionProcedureName>
WIDTH <nWidth>
HEIGHT <nHeight>
AUTOSIZE <lValue>
FONTNAME <cValue>
FONTSIZE <nValue>
FONTBOLD <lValue>
FONTITALIC <lValue>
FONTUNDERLINE <lValue>
FONTSTRIKEOUT <lValue>
TOOLTIP <cToolTipText>
BACKCOLOR <anBackColor>
FONTCOLOR <anFontColor>
TRANSPARENT <lValue>
ALIGNMENT Left | Right | Center
HELPID <nHelpId>
VISIBLE <lValue>
END LABEL
Properties:
- Value
- Enabled
- Visible
- Row
- Col
- Width
- Height
- FontName
- FontSize
- FontBold
- AutoSize
- Name (R)
- Parent (D)
- HelpId (D)
- Alignment (D)
D: Available at control definition only
R: Read-Only
Events:
- OnClick
Methods:
- Show
- Hide
- Release