Skip to main content
All docs
V25.1
  • TdxRibbonSkinSelector.CreateSkinSelector(TdxBar,string) Method

    Creates a Ribbon Skin Selector for the specified toolbar.

    Declaration

    class function CreateSkinSelector(ABar: TdxBar; const ASkinResFileName: string = ''): TdxRibbonSkinSelector;

    Parameters

    Name Type Description
    ABar TdxBar

    The parent toolbar instance.

    ASkinResFileName string

    Optional. The name of the resource with skins.

    If you omit this parameter, the newly created Ribbon Skin Selector loads skins from application resources.

    Returns

    Type Description
    TdxRibbonSkinSelector

    The created Ribbon Skin Selector instance.

    Remarks

    Call the CreateSkinSelector class function and pass the target toolbar instance as the ABar parameter to create a Ribbon Skin Selector component in the toolbar.

    See Also