Table of Contents

TTMSFNCCustomToolBar.AddCustomControl Method

Adds an existing control instance to the toolbar at the given position.

API unit family: TMSFNCToolBar Declaring type: TTMSFNCCustomToolBar

Syntax

procedure AddCustomControl(AControl: TControl; AIndex: Integer = -1); virtual;

Parameters

Name Description
AControl The control to insert.
AIndex Zero-based insertion index, or -1 to append.