TreeItem IsParent() Method

Find out if another TreeItem is an ancestor of this one.

Function Signature

 bool IsParent( id )

Parameters

Parameter Type Description

id

int

TS_ID of the TreeItem to test for parent status.

Return

Type Description

bool

Returns true if the given TreeItem is an ancestor of this one; false if not.

Technical Details

SBM ModScript version: 11.3.

Notes

None.

Related Topics

TreeItem