AutoPlay Media Studio 9

ListBox.AddItem

ListBox.AddItem

Previous topic Next topic  

ListBox.AddItem

Previous topic Next topic  

OverviewExamples

number ListBox.AddItem (

string ObjectName,

string Text,

string Data = "" )

Description

Adds an item to a listbox object.

Parameters

ObjectName

(string) The name of the listbox object.

Text

(string) The item text to display.

Data

(string) The item data to associate with the item text.

Returns

(number) The index where the item was added. If an error occurs, -1 is returned. You can use Application.GetLastError to determine whether this action failed, and why.

See also: Related Actions


Learn More: Indigo Rose Software - AutoPlay Media Studio - Buy Now - Contact Us