Treeview highlight node on form load


C

Carl Gilbert

Hi

I have a Treeview component on a form which when loaded selects a node
from the treeview.

The problem is that I can not get the node to remain highlighted.

The app is sucessfully selecting the node as the correct parent node
expands and when I click on the parent, the node that I set on the
load breifly highlights before the parent is highlighted.

Does anyone have any suggestions on how I could highlight the selected
node on load?

Kind regards, Carl Gilbert
 
Ad

Advertisements

H

Herfried K. Wagner [MVP]

* (e-mail address removed) (Carl Gilbert) scripsit:
I have a Treeview component on a form which when loaded selects a node
from the treeview.

The problem is that I can not get the node to remain highlighted.

The app is sucessfully selecting the node as the correct parent node
expands and when I click on the parent, the node that I set on the
load breifly highlights before the parent is highlighted.

Does anyone have any suggestions on how I could highlight the selected
node on load?

Are you sure the control's 'HideSelection' property is set to 'False'?
 
Ad

Advertisements


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top