Skip to main content
Table of Contents

TTMSFNCListBox.AddItem Method

Adds a new item to the list box.

API unit family: TMSFNCListBox Declaring type: TTMSFNCListBox Inherited from: 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.