Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Images in TreeView

Status
Not open for further replies.

andrey

Programmer
Jun 23, 2000
24
IL
Hi!
I have a TreeView control with 3 levels of nodes and an ImageBox with 5 images. There is some code in NodeClick and TreeView_Expand events. And when I click on some Node or expand it - everything is all right. But when I call these events from within code, like this:
Call TreeView_NodeClick(TreeView.SelectedItem) or something else, images of the first level nodes turn into medley of all images of ImageBox and there is no way to return to previous state, merely reload the TreeView.
Why?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top