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.CapsLockKeyAppearance Property

Specifies the appearance of the CAPS LOCK key indicator.

#Declaration

Delphi
property CapsLockKeyAppearance: TdxStatusBarKeyStateAppearance index 0 read; write;

#Property Value

Type
TdxStatusBarKeyStateAppearance

#Remarks

The CapsLockKeyAppearance property defines the appearance of the CAPS LOCK key indicator, which may be displayed on the keyboard state panel of the status bar. Usually when the CAPS LOCK indicator is on, all text entered by the user is automatically capitalized.

This property provides you with the following options:

Option Meaning
ActiveCaption The text that is displayed when the CAPS LOCK is on.
ActiveFontColor The font color that is used to display ActiveCaption when the CAPS LOCK is on.
InactiveCaption The text that is displayed when the CAPS LOCK is off.
InactiveFontColor The font color that is used to display InactiveFontColor when the CAPS LOCK is off.

Please refer to the TdxStatusBarKeyStateAppearance class reference for more detailed information about the available options.

Below are the status bar samples with various style of the CAPS LOCK indicator:

Sample Meaning
CAPS LOCK is not pressed (default style).
CAPS LOCK is pressed (default style).
CAPS LOCK is pressed and the ActiveFontColor property is red.
CAPS LOCK is pressed, the ActiveFontColor property is red and the ActiveCaption property changed to ‘CPS’.
See Also