Phantom Documentation

[Help Home] [Phantom Home]
IsExpanded

bool bExpanded = window.IsExpanded(sItem[.sSubItem1...]);

Applicable Classes: TreeView

Parameters:
string sItem - The name of the item.string(s) sSubItem - A list of items under the base item in the tree, each separated by a period.  Each item is a subsequent level in a tree.
Return Value:
bool bExpanded - Value is 'true' if the specified item is expanded, 'false' otherwise.

Description:
Determines whether or not the specified item is expanded. For example, if the following tree is used:

Item1
 Sub1
  Sub1Sub1
 Sub2

and Sub2 had a non-visible child item, this function call for Sub2 would return 'false'. This function would return 'true' for 'Item1' or 'Item1.Sub1'.

For an example, see TreeView functions..


See Also: TreeView Functions



Copyright 2000-2011 Phantom Automated Solutions