>  Docs Center  >  Using IDL  >  Setting the Tree Selection State

Setting the Tree Selection State

Setting the Tree Selection State

You can programmatically select or deselect nodes in a tree widget hierarchy using the SET_TREE_SELECT keyword to WIDGET_CONTROL. Selecting a node or nodes visually highlights the node on the tree display. In the above example, placing the following command just above the call to XMANAGER:


would cause the first leaf node to be highlighted when the widget tree was first displayed.

© 2020 Harris Geospatial Solutions, Inc. |  Legal
My Account    |    Store    |    Contact Us