ListBox.GetCount

number ListBox.GetCount ( 

string ObjectName )

Example 1

num_items = ListBox.GetCount("ListBox2");

Gets the number of items in the "ListBox2" listbox object and stores the result in a variable called "num_items."

See also:  Related Actions