From: Mr. X. on 5 Jun 2010 06:52 Hello. I want to use imagelist. The nodes on the image list has connected to an itemlist, which I have added some pictures on it. On runtime - everytime I select a specific node, the image is changed to : imageIndex. I cannot see a way to avoid that situation. I want that when I click on node - the image on it won't be changed. How can I do that ? Thanks :)
From: Phill W. on 7 Jun 2010 09:26 On 05/06/2010 11:52, Mr. X. wrote: > On runtime - everytime I select a specific node, the image is changed to > : imageIndex. > I want that when I click on node - the image on it won't be changed. Set both the ImageKey and SelectedImageKey of the TreeNode to the same value. HTH, Phill W.
|
Pages: 1 Prev: Final Color of cell in DataGridView Next: TreeNode - find the keys of the node. |