Skip to main content

TdxStatusBarKeyboardStatePanelStyle.CapsLockKeyAppearance Property

Specifies the appearance of the CAPS LOCK key indicator.

Declaration

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