@...HOTKEYBOX
DEFINE HOTKEYBOX 
Creates a hotkey control.
  

Standard control for hotkey's input.

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



DESCRIPTION:
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:

·   Value
Set / Gets HotKeyBox value.
·   Enabled
Set / Gets enabled state of a HotKeyBox control
·   Visible
Set / Gets visible a HotKeyBox control.
·   Row
Set / Gets row position of a HotKeyBox control.
·   Col
Set / Gets column position of a HotKeyBox control.
·   Width
Set / Gets width of a HotKeyBox control.
·   Height
Set / Gets height of a HotKeyBox control.
·   FontName
Set / Gets HotKeyBox control's font name.
·   FontSize
Set / Gets HotKeyBox control's font size.
·   FontBold
Set / Gets HotKeyBox control's font bold property
·   FontItalic
Set / Gets HotKeyBox control's font italic property
Set / Gets HotKeyBox control's font underline property
Set / Gets HotKeyBox control's font strikeout property
·   Cargo
Set / Gets user property 'Cargo' for HotKeyBox control
·   Name (R)
Retrieves the name of a HotKeyBox control.
·   Parent(D)
Set the name as character identifier of the parent window.
·   HelpId(D)
Set the numeric help topic identifier of the control.
·   NoTabStop(D)
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:

·   OnChange
Action to be performed when generic changing of the control


METHODS:

·   Show
Shows a HotKeyBox control
·   Hide
Hides a HotKeyBox control
·   Release
Releases a HotKeyBox control from memory
·   SaveAs
Save a HotKeyBox control as BitMap file.


EXAMPLE:

See demos in :
  
  \Samples\Basic\HotKeyBox

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.