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

function AddItem(AText: string = ''): TTMSFNCListBoxItem; virtual;

Parameters

Name Description
AText Text assigned to the new item.

Returns

The created item.