Skip to main content
All docs
V23.2

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 Sender parameter value to the TdxRibbonSkinSelector class to access all public API members of the Ribbon Skin Selector component.

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
  • If True, the Ribbon Skin Selector adds the current skin (ASkinName) to the list of available skins.
  • If False, the Ribbon Skin Selector omits the current skin (ASkinName).

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.

See Also