TreeView Test for Item Selected

D

Drew

Working with a Tree View Control and before allowing the
consumer to add a node they must select the node to add
to. There is always at least one node, but I want to
make sure one is selected before allowing them to add. I
have search in vain for a test like "itemselected.count"
that is a property of the ListBox control but have found
nothing to help me test for an item selection within a
TreeView Control.

Any help would be great. I don't want to write an error
handler to capture no selection if I can help it.

Drew
 

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