TdxStatusBarKeyboardStatePanelStyle.NumLockKeyAppearance Property
Specifies the appearance of the NUM LOCK key indicator.
Declaration
property NumLockKeyAppearance: TdxStatusBarKeyStateAppearance index 1 read; write;
Property Value
Type |
---|
TdxStatusBarKeyStateAppearance |
Remarks
The NumLockKeyAppearance property defines the appearance of the NUM LOCK key indicator, which may be displayed on the keyboard state panel of the status bar. When NUM LOCK is activated, the user may use the numeric keys of the keyboard.
This property provides you with the following options:
Option | Meaning |
---|---|
ActiveCaption | The text that is displayed when NUM LOCK is on. |
ActiveFontColor | The font color that is used to display ActiveCaption when NUM LOCK is on. |
InactiveCaption | The text that is displayed when NUM LOCK is off. |
InactiveFontColor | The font color that is used to display InactiveFontColor when NUM LOCK is off. |
Please refer to the TdxStatusBarKeyStateAppearance class reference for more detailed information about the available options.
Below are status bar samples showing the various styles of the NUM LOCK indicator:
Sample | Meaning |
---|---|
NUM LOCK is not pressed (default style). | |
NUM LOCK is pressed (default style). | |
NUM LOCK is pressed and ActiveFontColor changed to red. | |
NUM LOCK is not pressed and InactiveCaption changed to ‘NumL’. |
See Also