TdxSkinController.OnSkinForm Event
Allows you to apply different skins to forms and standard VCL controls.
Declaration
property OnSkinForm: TdxSkinFormEvent read; write;
Remarks
You can handle OnSkinForm
and OnSkinControl events to apply different skins to individual standard forms and the following VCL controls: TPanel, TButton, TCheckBox, TDBCheckBox, and TRadioButton.
To update skin-related settings modified within an OnSkinForm
event handler, call the Refresh procedure.
Event Occurrence
The OnSkinForm
event occurs once for every skinned form when it is displayed for the first time.
Event Parameters
You can use the AForm
parameter to access the currently processed form. The ASkinName
parameter allows you to apply a specific skin to the form.
Refer to the TdxSkinFormEvent procedural type description for detailed information on parameters accessible within an OnSkinForm
event handler.
Limitations
All skin setting changes made within an OnSkinForm
event handler affect only a form and all TPanel, TButton, TCheckBox, TDBCheckBox, and TRadioButton controls on this form.
Only SkinName, SkinPaletteName, and other global skin-related properties affect DevExpress controls.