Skip to main content
Table of Contents

TTMSFNCCustomDockPanel.AddToolBar Method

Creates a new TTMSFNCToolBar, adds it to this dock panel, and returns the new toolbar.

API unit family: TMSFNCToolBar Declaring type: TTMSFNCCustomDockPanel

Syntax

FMX.TMSFNCToolBar.hppPascalC++
function AddToolBar(AIndex: Integer = -1): TTMSFNCToolBar;
TTMSFNCToolBar* __fastcall AddToolBar(int AIndex = 0xffffffff);

Parameters

Name Description
AIndex Zero-based insertion index, or -1 to append.

Returns

The newly created toolbar.