Board index » delphi » showing selected node in treeview

showing selected node in treeview

I have buttons which change the selected node within a treeview, but the
selected node does not show as selected until the treeview itself is
given focus. Is there any way to highlight the selected node without
shifting focus away from the buttons?

Thanks.

 

Re:showing selected node in treeview


Quote
"Jimmy" wrote:
> I have buttons which change the selected node within a treeview, but
the
> selected node does not show as selected until the treeview itself is
> given focus. Is there any way to highlight the selected node without
> shifting focus away from the buttons?

Set TTreeView.HideSelection to FALSE.

-ThomasN

Re:showing selected node in treeview


Quote
"Jimmy" wrote:
> I have buttons which change the selected node within a treeview, but
the
> selected node does not show as selected until the treeview itself is
> given focus. Is there any way to highlight the selected node without
> shifting focus away from the buttons?

Set TTreeView.HideSelection to FALSE.

-ThomasN

Other Threads