TdxStatusBarKeyStateAppearance.Code Property
Gets the key code corresponding to the keyboard state caption whose appearance is specified by this TdxStatusBarKeyStateAppearance object.
Declaration
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.