TdxSkinFormEvent Type
The procedural type for form skinning events.
Declaration
TdxSkinFormEvent = procedure(Sender: TObject; AForm: TCustomForm; var ASkinName: string; var UseSkin: Boolean) of object;
Parameters
Name | Type | Description |
---|---|---|
Sender | TObject | Provides access to the skin controller component that raised the form skinning event. Cast the |
AForm | TCustomForm | Provides access to the currently processed form. Use this parameter to identify the target form. |
ASkinName | string | Specifies the name of the skin applied to the target form ( The initial parameter value matches the SkinName property value of a TdxSkinController component in the application. The specified skin is applied to the form and its standard VCL controls only if the |
UseSkin | Boolean | Specifies if the skin controller applies a skin to the target form ( The initial parameter value matches the UseSkins property value of a TdxSkinController component in the application. |
Remarks
The form skinning event occurs once per form at application startup or when the active skin changes. You can handle this event to change the skin applied to forms and the following standard VCL controls within them:
Direct TdxSkinFormEvent Type Reference
The TdxSkinController.OnSkinForm event references the TdxSkinFormEvent
procedural type.