borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (importing data from excel in VB.net)Next Topic (add column in database dynamically) New Topic New Poll Post Reply
AndreaVB Forum : VB.Net : Icon in tree view
Poster Message
eddom
Level: Big Cheese

Registered: 14-03-2006
Posts: 24

icon Icon in tree view

Hi, Anybody know how to insert icon into tree view? or any Link for that? i cant find one in google. Thanks

19-03-2006 at 08:37 AM
View Profile Send Email to User Show All Posts | Quote Reply
Goran
Level: Moderator

Registered: 16-05-2002
Posts: 1681
icon Re: Icon in tree view

Of the head, treeview has ImageList collection which should be set to some Imagelist control, either through properties window, or through code. When you are adding nodes, node has ImageIndex and SelectedImageIndex properties (or something similar) which will bind particular image to this node.

____________________________
If you find the answer helpful, please mark this topic as solved.

20-03-2006 at 01:28 AM
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : VB.Net : Icon in tree view
Previous Topic (importing data from excel in VB.net)Next Topic (add column in database dynamically) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder