Phantom Documentation

[Help Home] [Phantom Home]
GetCount

iCount = window.GetCount();

Applicable Classes:
ToolBar, TreeView, ListView, ComboBox, ListBox, PageList (TabCtrl)

Parameters: None
Return Value:
int iCount - The count, dependent on the window type.

Description:
ToolBar: GetCount returns the number of buttons in a ToolBar. Also includes the number of separators. See ToolBar for an example.

TreeView: GetCount returns the total number of elements (including all child elements) in the TreeView. See TreeView for an example.

ListView: GetCount returns the total number of items in the list. See ListView for an example.

ComboBox: GetCount returns the number of items in the combo box. See ComboBox for an example.

ListBox: GetCount returns the number of items in the ListBox. See ListBox for an example.

PageList: GetCount returns the number of tabs in the PageList. See PageList for an example.





Copyright 2000-2011 Phantom Automated Solutions