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

·   Value
Set / Gets CheckLabel value.
·   Enabled
Set / Gets enabled state of a CheckLabel control
·   Visible
Set / Gets visible a CheckLabel control.
·   Row
Set / Gets row position of a CheckLabel control.
·   Col   
Set / Gets column position of a CheckLabel control.
·   Width
Set / Gets width of a CheckLabel control.
·   Height
Set / Gets height of a CheckLabel control.
·   Action
Set / Gets action of a CheckLabel control..
·   FontName
Set / Gets CheckCheckLabel control's font name.
·   FontSize
Set / Gets CheckLabel control's font size.
·   FontBold
Set / Gets CheckLabel control's font bold property
·   FontItalic
Set / Gets CheckLabel control's font italic property
Set / Gets CheckLabel control's font underline property
Set / Gets CheckLabel control's font strikeout property
·   FontColor
Set / Gets the foreground color for text within the CheckLabel
·   BackColor
Set / Gets the background color for text within the CheckLabel
·   Picture
Set / Gets image name of a CheckLabel control.
·   Cargo
Set / Gets user property 'Cargo' for CheckLabel control
·   Name (R)
Retrieves the name of a CheckLabel control.
·   Parent (D)
Set the name as character identifier of the parent window.
·   HelpId (D)
Set the numeric help topic identifier of the control.
·   AutoSize (D)
Control supports an autosizing of width
·   Blink
Sets the blink property for CheckLabel control.
·   Checked
Set / Gets check state of a CheckLabel control.

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

EVENTS:

·   OnClick/Action
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:

·   Show
Shows a CheckLabel control
·   Hide
Hides a CheckLabel control
·   Release
Releases a CheckLabel control from memory
·   Refresh
Repaint a Control
·   SaveAs
Save a CheckLabel control as BitMap file.

EXAMPLE:

See demo in :
\Samples\Basic\CheckLabel