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

TdxStatusBarKeyStateAppearance.Code Property

Gets the key code corresponding to the keyboard state caption whose appearance is specified by this TdxStatusBarKeyStateAppearance object.

#Declaration

Delphi
property Code: Integer read;

#Property Value

Type
Integer

#Remarks

The keyboard state panel can display sections corresponding to the state of four keys – CAPS LOCK, NUM LOCK, SCROLL LOCK and INSERT. Each section has a corresponding TdxStatusBarKeyStateAppearance object holding its appearance settings. The Code property of this object returns the virtual key code representing the corresponding key. For instance, if appearance settings are specified for the CAPS LOCK key, the Code property will return VK_CAPITAL. Please refer to the Virtual Key Codes topic of the IDE help system for a complete list of virtual codes.

The Code property is for internal use only. Most commonly, you will have no need to use it in your applications.

See Also