Create(TdxStatusBarKeyboardState,Integer,string,TColor,string,TColor,TNotifyEvent) Constructor
In This Article
Creates a new TdxStatusBarKeyStateAppearance object.
#Declaration
Delphi
constructor Create(AId: TdxStatusBarKeyboardState; ACode: Integer; const AActiveCaption: string; AActiveFontColor: TColor; const AInactiveCaption: string; AInactiveFontColor: TColor; AChangeHandler: TNotifyEvent);
#Parameters
Name | Type |
---|---|
AId | Tdx |
ACode | Integer |
AActive |
string |
AActive |
TColor |
AInactive |
string |
AInactive |
TColor |
AChange |
TNotify |
#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