@...HOTKEYBOX DEFINE HOTKEYBOX Creates a hotkey control.
|
SYNTAX
Standard Window:
@ <nRow> ,<nCol> HOTKEYBOX <ControlName>
[ OF | PARENT <ParentWindowName> ]
[ VALUE <nValue> ]
[ WIDTH <nWidth> ]
[ HEIGHT <nHeight> ]
[ FONT <cFontName> SIZE <nFontSize> ]
[ BOLD ] [ ITALIC ] [ UNDERLINE ] [ STRIKEOUT ]
[ TOOLTIP <cToolTipText> ]
[ ON CHANGE <OnChangeProcedure> | <bBlock> ]
[ HELPID <nHelpId> ]
[ INVISIBLE ]
[ NOTABSTOP ]
Alternate Syntax:
DEFINE HOTKEYBOX <ControlName>
[ PARENT <ParentWindowName> ]
COL <nCol>
ROW <nRow>
[ VALUE <nValue> ]
[ WIDTH <nWidth> ]
[ HEIGHT <nHeight> ]
[ FONTNAME <cFontName> ]
[ FONTSIZE <nFontSize> ]
[ FONTBOLD < .T. | .F.> ]
[ FONTITALIC < .T. | .F.> ]
[ FONTUNDERLINE < .T. | .F.> ]
[ FONTSTRIKEOUT < .T. | .F.> ]
[ TOOLTIP <cToolTipText> ]
[ ONCHANGE <OnChangeProcedure> | <bBlock> ]
[ HELPID <nHelpId> ]
[ INVISIBLE < .T. | .F.> ]
[ NOTABSTOP < .T. | .F.> ]
END HOTKEYBOX
nRow, nCol
|
Position in the area of ??the window in pixels.
|
nWidth, nHeight
|
The desired size of the HotKeyBox Control in pixels.
|
nId
|
The ID identifier this Control in Dialog Window
|
ControlName
|
A reference to the HotKeyBox Control
|
ParentWindowName
|
A reference to the Parent Window.
|
nHelpID
|
The help topic identifier for this Control
|
nValue
|
|
cFontName
|
Specifies the Font Name
|
cFontSize
|
Specifies the Font Size
|
cToolTipText
|
Specifies the Text for the ToolTip
|
OnChangeProcedure
|
An action to be performed on HotKeyBox changes
|
|
|
INVISIBLE
|
The visibility property specifies whether or not a control is
visible
|
NOTABSTOP
|
Stop the control to receive focus and participate in the
tabbing sequence
|
PROPERTIES:
Set / Gets HotKeyBox value.
| |
Set / Gets enabled state of a HotKeyBox control
| |
Set / Gets visible a HotKeyBox control.
| |
Set / Gets row position of a HotKeyBox control.
| |
Set / Gets column position of a HotKeyBox control.
| |
Set / Gets width of a HotKeyBox control.
| |
Set / Gets height of a HotKeyBox control.
| |
Set / Gets HotKeyBox control's font name.
| |
Set / Gets HotKeyBox control's font size.
| |
Set / Gets HotKeyBox control's font bold property
| |
Set / Gets HotKeyBox control's font italic property
| |
Set / Gets HotKeyBox control's font underline property
| |
Set / Gets HotKeyBox control's font strikeout property
| |
Set / Gets user property 'Cargo' for HotKeyBox control
| |
Retrieves the name of a HotKeyBox control.
| |
Set the name as character identifier of the parent window.
| |
Set the numeric help topic identifier of the control.
| |
Sets whether an element behavior can't receive focus and participate in
the tabbing sequence
|
D: Available
at control definition only
R: Read-Only
EVENTS:
Action to be performed when generic changing of the control
|
METHODS:
Shows a HotKeyBox control
| |
Hides a HotKeyBox control
| |
Redraw a Control
| |
Releases a HotKeyBox control from memory
| |
Save a
HotKeyBox control as BitMap file.
|
EXAMPLE:
Remarks:
1. Prohibition for using the letter's keys and Shift key without modifiers.
2. If user try to define the forbidden hotkey, when will be defined Alt key instead.