TdxRibbonSkinSelectorAddSkinEvent Type
The procedural type for skin list population events in a Ribbon Skin Selector component.
Declaration
TdxRibbonSkinSelectorAddSkinEvent = procedure(Sender: TObject; const ASkinGroupName: string; const ASkinName: string; var AAccepted: Boolean) of object;
Parameters
Name | Type | Description |
---|---|---|
Sender | TObject | The Ribbon Skin Selector component that raised the skin list population event. You need to cast the |
ASkinGroupName | string | The name of the target skin group. |
ASkinName | string | The name of the skin that the Ribbon Skin Selector is about to add. |
AAccepted | Boolean |
|
Remarks
A skin list population event occurs every time a Ribbon Skin Selector is about to add a skin to the list of skins available for selection. You can assign False
to the AAccepted
parameter within a TdxRibbonSkinSelectorAddSkinEvent
handler to exclude certain skins based on custom conditions.
Direct TdxRibbonSkinSelectorAddSkinEvent Type References
The TdxRibbonSkinSelector component’s OnAddSkin event references the TdxRibbonSkinSelectorAddSkinEvent
procedural type.