Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxStatusBarKeyboardStatePanelStyle.NumLockKeyAppearance Property

Specifies the appearance of the NUM LOCK key indicator.

#Declaration

Delphi
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