Create(TdxStatusBarKeyboardState,Integer,string,TColor,string,TColor,TNotifyEvent) Constructor
Creates a new TdxStatusBarKeyStateAppearance object.
Declaration
constructor Create(AId: TdxStatusBarKeyboardState; ACode: Integer; const AActiveCaption: string; AActiveFontColor: TColor; const AInactiveCaption: string; AInactiveFontColor: TColor; AChangeHandler: TNotifyEvent);
Parameters
| Name | Type |
|---|---|
| AId | TdxStatusBarKeyboardState |
| ACode | Integer |
| AActiveCaption | string |
| AActiveFontColor | TColor |
| AInactiveCaption | string |
| AInactiveFontColor | TColor |
| AChangeHandler | TNotifyEvent |
Remarks
The Create method creates and initializes the instance of the TdxStatusBarKeyStateAppearance class. The Create method is usually called automatically when you add a new keyboard states panel on the status bar. However, you may need to call it directly when implementing custom status bar classes derived from TdxCustomStatusBar.
See Also