Skip to main content
Table of Contents

TTMSFNCCustomListBox.AddItem Method

Adds a new item to the list box.

API unit family: TMSFNCListBox Declaring type: TTMSFNCCustomListBox

Syntax

FMX.TMSFNCListBox.hppPascalC++
function AddItem(AText: string = ''): TTMSFNCListBoxItem; virtual;
virtual TTMSFNCListBoxItem* __fastcall AddItem(System::UnicodeString AText = System::UnicodeString());

Parameters

Name Description
AText Text assigned to the new item.

Returns

The created item.