Table of Contents

TTMSFNCRibbonPage.AddToolBar Method

Adds a new toolbar to this ribbon page's container and returns it.

API unit family: TMSFNCRibbon Declaring type: TTMSFNCRibbonPage

Syntax

function AddToolBar(AText: string = ''; AIndex: Integer = -1): TTMSFNCRibbonToolBar; virtual;

Parameters

Name Description
AText Caption text shown above the toolbar group divider.
AIndex Insertion index; pass -1 to append.