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