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

Create(TdxStatusBarKeyboardState,Integer,string,TColor,string,TColor,TNotifyEvent) Constructor

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 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