@...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 ]
[ FIELD <field> ]
[ HELPID <nHelpId> ]
[ INVISIBLE ]
[ ON INIT <bInit> ]
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 ]
[ FIELD <field> ]
[ HELPID <nHelpId> ]
[ INVISIBLE ]
[ ON INIT <bInit> ]
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.> ]
[ VCENTERALIGN < .T. | .F.> ]
[ LEFTCHECK < .T. | .F.>
[ CHECKED < .T. | .F.> ]
[ FIELD <field> ]
[ HELPID <nHelpId> ]
[ INVISIBLE < .T. | .F.> ]
[ ONINIT <bInit> ]
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:
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.
| |
Set the name as character identifier of the parent window.
| |
Set the numeric help topic identifier of the control.
| |
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
| |
Redraw a Control
| |
Releases a CheckLabel control from memory
| |
Repaint a Control
| |
Save a CheckLabel control as BitMap file.
|
EXAMPLE: