Tree - AutoSelectItem Property

Automatically select the first item when the list is loaded

Member of Tree (PRIM_TREE)

Data Type - Boolean


The AutoSelectItem property defines how the list will behave when it first receives focus.
By default, there will be no focus item when a list is loaded. By setting AutoSelectItem to True, the first item in the list will become the focus item when the list box receives focus.
Rather than relying on AutoSelectItem, it is recommended that you specifically set an item to focus programmatically when loading.

See also

All Component Classes

Technical Reference

LANSA Version 15, April 2020