"parent";
Returns the parent of an item or an empty string if the item has no parent.
Synopsis
shape.parent(string Id);
Parameters
Parameter | Description |
---|---|
shape | The name of the object |
Id | The item whose parent should be returned |
Description
Returns the parent of an item or an empty string if the item has no parent.
Example
The following example returns the parent item of the item "PART1";.
main()
{
sDebugN(TREE1.parent("PART1"));
}
Assignment
Tree widget