Skip to main content
Table of Contents

TTMSFNCListBoxItems.Add Method

Appends a new item with empty text and returns it.

API unit family: TMSFNCListBox Declaring type: TTMSFNCListBoxItems

Overloads

Overload 1

Appends a new item with empty text and returns it.

FMX.TMSFNCListBox.hppPascalC++
function Add: TTMSFNCListBoxItem; overload; virtual;
HIDESBASE virtual TTMSFNCListBoxItem* __fastcall Add()/* overload */;

Overload 2

Appends a new item with the specified text and returns it.

FMX.TMSFNCListBox.hppPascalC++
function Add(AText: string): TTMSFNCListBoxItem; overload; virtual;
HIDESBASE virtual TTMSFNCListBoxItem* __fastcall Add(System::UnicodeString AText)/* overload */;

Parameters

Name Description
AText Display text for the new item.