An item's children.

Usage

StringValue = Get_Property(OLECtrlEntID, "OLE.ItemChildren[key]")

Values

StringValue can be any string meeting the following format requirements:

Syntax: @FM delimited list of item keys

Indices

IndexDescription
keyAn item's unique key

Remarks

The ItemChildren property gets all the children of an item. The value of this property is "" if there are no children. However, if children do exist, then this property returns an @FM delimited list of the child items' keys.

This property cannot be set. If you want to add children to an item, use the AddItems property instead.

Use this property only to get the children of an item with a key. If you need to get the root level items (i.e., the children of the Root Item), use the RootChildren property instead.

Example

// Determine if the item whose key is "Item1" has children 
ItemChildren = Get_Property(@Window:".OLE_TREE", "OLE.ItemChildren[Item1]") 
HasChildren = (ItemChildren NE "")

See Also

ItemParentRootChildren

  • No labels