Groups | Blog | Home
all groups > vb.net controls > february 2004 >

vb.net controls : treeview icons disappearing???



Paul M
2/19/2004 10:47:02 AM
hi there,

i've got a treeview on my form, which populates the parent nodes, all with
different icons, and each have child nodes with their relating parent icon.

On occasion when i run, the icons disappear from the treeview, and it
happens randomly? Has anyone else seen this, or does someone know a
workaround?

thanks,
Paul.

hirf-spam-me-here NO[at]SPAM gmx.at
2/19/2004 11:59:16 AM
Paul,

* "Paul M" <milsnips@hotmail.com> scripsit:
[quoted text, click to view]

Do you use 'Application.EnableVisualStyles'? Call
'Application.DoEvents' directly after the call to 'EnableVisualStyles'.

--
Herfried K. Wagner [MVP]
AddThis Social Bookmark Button