Class T__StyleContainerAncestor
Unit
Declaration
type T__StyleContainerAncestor = class(TDataModule)
Description
Ancestor class of your styles containers.
In your projects : - create a descendant of this class for each style you want to use - override GetStyleName and GetStyleType functions - call the class procedure RegisterStyle() of your class in the initialization section of its unit.
Hierarchy
- TObject
- TPersistent
- TComponent
- TDataModule
- T__StyleContainerAncestor
Overview
Fields
| Public | StyleBook1: TStyleBook; |
Methods
| Public | class procedure Initialize; virtual; deprecated 'Use RegisterStyle() method instead of Initialize.'; |
| Public | class procedure RegisterStyle; virtual; |
| Public | class function GetStyleName: string; virtual; abstract; |
| Public | class function GetStyleType: TProjectStyleType; virtual; abstract; |
Description
Fields
| Public | StyleBook1: TStyleBook; |
|
This item has no description. | |
Methods
| Public | class procedure Initialize; virtual; deprecated 'Use RegisterStyle() method instead of Initialize.'; |
|
Warning: this symbol is deprecated: Use RegisterStyle() method instead of Initialize. DEPRECATED. Used to register the style in the available styles list. | |
| Public | class procedure RegisterStyle; virtual; |
|
Register this style in the available styles list if current platform is available. | |
| Public | class function GetStyleName: string; virtual; abstract; |
|
Returns the name of this style. This name could to be shown to end users. | |
| Public | class function GetStyleType: TProjectStyleType; virtual; abstract; |
|
Returns the type (dark, light, other) of this style. It's used in the default style selection form. | |
Generated by PasDoc 1.0.2.