Skip to main content
Table of Contents

TTMSFNCCustomToolBar.AddColorPicker Method

Creates and adds a TTMSFNCToolBarColorPicker to the toolbar.

API unit family: TMSFNCToolBar Declaring type: TTMSFNCCustomToolBar

Syntax

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

Parameters

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

Returns

The newly created color picker.