Connecting Tech Pros Worldwide Forums | Help | Site Map

changing icons on Treeview control

lwhitb1
Guest
 
Posts: n/a
#1: Nov 19 '05
I created my own icons, and I would like to be able to use them instead of
all the default[msdn, news..ect..] icons they provide. Is this possible?


--
lee

Clamps
Guest
 
Posts: n/a
#2: Nov 19 '05

re: changing icons on Treeview control


I added my custom icons to an image list, assigned the treeview.imagelist
property to this imagelist, assigned the treeview.nodes(x).imageindex to the
corresponding nodes as i added them



"lwhitb1" wrote in message
[color=blue]
> I created my own icons, and I would like to be able to use them instead of
> all the default[msdn, news..ect..] icons they provide. Is this possible?
>
>
> --
> lee[/color]
lwhitb1
Guest
 
Posts: n/a
#3: Nov 19 '05

re: changing icons on Treeview control


I see the image list as a component when building a C# application, but I am
building a web application, and I don't see the image list in the toolbar?


--
lee


"Clamps" wrote:
[color=blue]
> I added my custom icons to an image list, assigned the treeview.imagelist
> property to this imagelist, assigned the treeview.nodes(x).imageindex to the
> corresponding nodes as i added them
>
>
>
> "lwhitb1" wrote in message
>[color=green]
> > I created my own icons, and I would like to be able to use them instead of
> > all the default[msdn, news..ect..] icons they provide. Is this possible?
> >
> >
> > --
> > lee[/color]
>
>
>[/color]
lwhitb1
Guest
 
Posts: n/a
#4: Nov 19 '05

re: changing icons on Treeview control


I am building a web application. I only see the image list component on a
regular C# application?
--
lee


"Clamps" wrote:
[color=blue]
> I added my custom icons to an image list, assigned the treeview.imagelist
> property to this imagelist, assigned the treeview.nodes(x).imageindex to the
> corresponding nodes as i added them
>
>
>
> "lwhitb1" wrote in message
> news..[color=green]
> > I created my own icons, and I would like to be able to use them instead of
> > all the default[msdn, news..ect..] icons they provide. Is this possible?
> >
> >
> > --
> > lee[/color]
>
>
>[/color]
Closed Thread