Delphic tree selection is lost

One small question. I need the selected treeview element to remain visually “selected”, even if the focus is on another component, does anyone know which property is responsible for this?

+5
source share
1 answer

The property you are looking for is called

HideSelection

Via:

Use HideSelection to indicate whether the user is provided with visual feedback about the current selection in when they have no focus. If true, the selected node is not visually distinct from other nodes until the focus returns to the control. If false, the node is always displayed.

+12
source

All Articles