Infralution Support Forum Index Infralution Support
Support groups for Infralution products
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Use of ImageLists in TreeView

 
Post new topic   Reply to topic    Infralution Support Forum Index -> Virtual Tree Feature Requests
View previous topic :: View next topic  
Author Message
lvt
Guest





PostPosted: Wed Apr 26, 2006 12:46 pm    Post subject: Use of ImageLists in TreeView Reply with quote

Is is possible to use ImageLists for handling icons instead of having to set the Icon property?
Back to top
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Wed Apr 26, 2006 11:36 pm    Post subject: Reply with quote

Why do you want to? ImageLists are a really error prone and awkward way of dealing with images/icons. The main problem with them is that because the reference to the icon is just an index into image list, it is all too easy to screw your icons up by changing the order of the icons in the list. The only reason that the standard .NET controls like TreeView and TabControl use ImageLists is because they are wrappers around the corresponding windows controls - and so are forced to use this mechanism. You'll find that most .NET controls that are written from the ground up in managed code avoid using ImageLists.
_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Infralution Support Forum Index -> Virtual Tree Feature Requests All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group