@...CHECKLABEL
DEFINE CHECKLABEL 
Create a CheckLabel control
  

Creates a CheckLabel control.

SYNTAX

Standard Window:

@ <nRow> ,<nCol> CHECKLABEL <ControlName>
[ ID <
nId> ]
[ OF | PARENT | DIALOG <
ParentWindowName> ]
VALUE <
cValue>
[ ACTION | ONCLICK | ON CLICK <
OnActionProcedure> | <bBlock> ]
[ ON MOUSEHOVER | ONMOUSEHOVER <
OnHoverProcedure> | <bBlock> ]
[ ON MOUSELEAVE | ONMOUSELEAVE  <
OnLeaveProcedure> | <bBlock> ]
[ WIDTH <
nWidth> ]
[ HEIGHT <
nHeight> ]
[ AUTOSIZE ]
[ FONT <
cFontName> SIZE <nFontSize> ]
[ BOLD ] [ ITALIC ] [ UNDERLINE ] [ STRIKEOUT ]
[ TOOLTIP <
cToolTipText> ]
[ BACKCOLOR <
anBackColor> ]
[ FONTCOLOR <
anFontColor> ]
[ IMAGE | PICTURE> <
cBitmap> | <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 <
OnActionProcedure> | <bBlock> ]
[ ON MOUSEHOVER | ONMOUSEHOVER> <
OnHoverProcedure> | <bBlock> ]
[ ON MOUSELEAVE | ONMOUSELEAVE > <
OnLeaveProcedure> |<bBlock> ]
[ AUTOSIZE ]
[ FONT <
cFontName> SIZE <nFontSize> ]
[ BOLD ] [ ITALIC ] [ UNDERLINE ] [ STRIKEOUT ]
[ TOOLTIP <
cToolTipText> ]
[ BACKCOLOR <
anBackColor> ]
[ FONTCOLOR <
anFontColor> ]
[ IMAGE | PICTURE> <
cBitmap> | <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 <
OnActionProcedure> | <bBlock> ]
[ ONMOUSEHOVER <
OnHoverProcedure> | <bBlock> ]
[ ONMOUSELEAVE> <
OnLeaveProcedure> | <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 <
anBackColor> ]
[ FONTCOLOR <
anFontColor> ]
[ IMAGE <
cBitmap> | <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


DESCIPTIONS:

nRow, nCol
Position in the area of ??the window in pixels.
nWidth, nHeight
The desired size of the CheclLabel Control in pixels.
nId
The ID identifier this Control in Dialog Window
ControlName
A reference to the CheckLabel Control
ParentWindowName
A reference to the Parent Window.
cValue
Specifies the caption for the CheckLabel control
cFontName, nFontSize
Specifies the Font Name
nFontSize
Specifies the Font Size
bBlock
Procedure to execute on Event
cToolTipText
Specifies the Text for the ToolTip
anBackColor
Specifies a Background Color
anFontColor
Specifies a Font Color
acBitMap, acBitMap
Specifies a single image or an Array of 2 image { True, False }
nHelpId
Numeric help topic identifier of the control
OnActionProcedure
An action to be performed on Action / Click
OnHoverProcedure
An action to be performed on Mouse Hover
OnLeaveProcedure
An action to be performed on Mouse Leave
 
 
AUTOSIZE
Specifies that the C
BORDER
Specifies to draw a Border around the Label
CLIENTEDGE
?
HSCROLL
Specifies to enable the Horizontal scroll bar
VSCROLL
Specifies to enable the Vertical scroll bar
TRANSPARENT
Specifies that the background of a control should be transparent
BLINK
Specifies that we want the CheckLabel control to Blink
RIGHTALIGN
Specifies to Right Align the CheckLabel caption
CENTERALIGN
Specifies to Center Align the CheckLabel caption
LEFTCHECK
Specifies to put the Checked (Symbol/Image) on the Left side before the caption
CHECKED
Specifies startup value to Checked (.T.)
INVISIBLE
The visibility property specifies whether or not a control is visible


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