@...CHECKLABEL DEFINE CHECKLABEL
|
Creates a checklabel control.
SYNTAX
Standard Window:
@ <nRow> ,<nCol> CHECKLABEL
<ControlName>
[ ID <nId> ]
[ OF | PARENT | DIALOG <ParentWindowName> ]
VALUE <cValue>
[ ACTION | ONCLICK | ON CLICK <ActionProcedureName> | <bBlock>
]
[ ON MOUSEHOVER | ONMOUSEHOVER> <OverProcedureName> | <bBlock>
[ ON MOUSELEAVE | ONMOUSELEAVE > <LeaveProcedureName> | <bBlock>
] ;
[ WIDTH <nWidth> ]
[ HEIGHT <nHeight> ]
[ AUTOSIZE ]
[ FONT <cFontname> SIZE <nFontsize> ]
[ BOLD ] [ ITALIC ] [ UNDERLINE ] [ STRIKEOUT ]
[ TOOLTIP <cToolTipText> ]
[ BACKCOLOR <anBackColort> ]
[ FONTCOLOR <anFontColor>]
[ IMAGE | PICTURE> <acbitmap>
[ BORDER ]
[ CLIENTEDGE ]
[ HSCROLL ]
[ VSCROLL ]
[ TRANSPARENT ]
[ BLINK ]
[ RIGHTALIGN | CENTERALIGN ]
[ LEFTCHECK ]
[ CHECKED ]
[ HELPID <nHelpId> ]
[ INVISIBLE ]
Dialog Window:
REDEFINE CHECKLABEL <ControlName>
ID <nId>
[ OF | PARENT | DIALOG <ParentWindowName> ]
VALUE <cValue>
[ ACTION | ONCLICK | ON CLICK <ActionProcedureName> | <bBlock> ]
[ ON MOUSEHOVER | ONMOUSEHOVER> <OverProcedureName> | <bBlock>
[ ON MOUSELEAVE | ONMOUSELEAVE > <LeaveProcedureName> | <bBlock>
] ;
[ AUTOSIZE ]
[ FONT <cFontname> SIZE <nFontsize> ]
[ BOLD ] [ ITALIC ] [ UNDERLINE ] [ STRIKEOUT ]
[ TOOLTIP <cToolTipText> ]
[ BACKCOLOR <anBackColort> ]
[ FONTCOLOR <anFontColor>]
[ IMAGE | PICTURE> <acbitmap>
[ BORDER ]
[ CLIENTEDGE ]
[ HSCROLL ]
[ VSCROLL ]
[ TRANSPARENT ]
[ BLINK ]
[ RIGHTALIGN | CENTERALIGN ]
[ LEFTCHECK ]
[ CHECKED ]
[ HELPID <nHelpId> ]
[ INVISIBLE ]
Alternate Syntax:
DEFINE CHECKLABEL
[ ID <nId> ]
[ PARENT <ParentWindowName> ]
COL <nCol>
ROW <nRow>
VALUE <cValue>
[ ACTION <ActionProcedureName> | <bBlock> ]
[ ONMOUSEHOVER> <OverProcedureName> | <bBlock>
[ ONMOUSELEAVE > <LeaveProcedureName> | <bBlock> ]
[ WIDTH <nWidth> ]
[ HEIGHT <nHeight> ]
[ AUTOSIZE ]
[ FONTNAME <cFontname>
[ FONTSIZE <nFontsize> ]
[ FONTBOLD < .T. | .F.> ]
[ FONTITALIC < .T. | .F.> ]
[ FONTUNDERLINE < .T. | .F.> ]
[ FONTSTRIKEOUT < .T. | .F.> ]
[ TOOLTIP <cToolTipText> ]
[ BACKCOLOR <anBackColort> ]
[ FONTCOLOR <anFontColor>]
[ IMAGE > <acbitmap>
[[ BORDER < .T. | .F.> ]
[ CLIENTEDGE < .T. | .F.> ]
[ HSCROLL < .T. | .F.> ]
[ VSCROLL < .T. | .F.> ]
[ TRANSPARENT < .T. | .F.> ]
[ BLINK < .T. | .F.> ]
[ RIGHTALIGN < .T. | .F.> | CENTERALIGN < .T. | .F.> ]
[ LEFTCHECK < .T. | .F.>
[ CHECKED < .T. | .F.> ]
[ HELPID <nHelpId> ]
[ INVISIBLE < .T. | .F.> ]
END CHECKLABEL
PROPERTIES:
Set / Gets CheckLabel value.
| |
Set / Gets enabled state of a CheckLabel control
| |
Set / Gets visible a CheckLabel control.
| |
Set / Gets row position of a CheckLabel control.
| |
Set / Gets column position of a CheckLabel control.
| |
Set / Gets width of a CheckLabel control.
| |
Set / Gets height of a CheckLabel control.
| |
Set / Gets action of a CheckLabel control..
| |
Set / Gets CheckCheckLabel control's font name.
| |
Set / Gets CheckLabel control's font size.
| |
Set / Gets CheckLabel control's font bold property
| |
Set / Gets CheckLabel control's font italic property
| |
Set / Gets CheckLabel control's font underline property
| |
Set / Gets CheckLabel control's font strikeout property
| |
Set / Gets the foreground color for text within the CheckLabel
| |
Set / Gets the background color for text within the CheckLabel
| |
Set / Gets image name of a CheckLabel control.
| |
Set / Gets user property 'Cargo' for CheckLabel control
| |
Retrieves the name of a CheckLabel control.
| |
· Parent (D)
|
Set the name as character identifier of the parent window.
|
Set the numeric help topic identifier of the control.
| |
· AutoSize (D)
|
Control supports an autosizing of width
|
Sets the blink property for CheckLabel control.
| |
Set / Gets check state of a CheckLabel control.
|
D: Available at control definition only
R: Read-Only
EVENTS:
Action to be performed when generic clicking of the control
| |
Action to be performed when the mouse pointer hovers over the
control
| |
Action to be performed when the user moves the mouse pointer
outside the boundaries of the control
|
METHODS:
Shows a CheckLabel control
| |
Hides a CheckLabel control
| |
Releases a CheckLabel control from memory
| |
Repaint a Control
| |
Save a
CheckLabel control as BitMap file.
|
EXAMPLE: