Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

TreeView

Status
Not open for further replies.

extempore

Programmer
Jun 1, 2001
71
US
All,

I have 2 questions regarding TreeView.

1) Is there a way to add two sub folders together (instead of one by one)?

2)If there is no child item for a parent(folder) Is there a way to remove the '+' symbol next to it. Users keep clicking the + thinking there is a sub folder and getting annoyed.

Any code help is greatly appreciated.

Thanks

Extempore
 
1) I don't think so, but I'm not certain...

2)
ltvi_item.pictureindex = 0
ltvi_item.selectedpictureindex = 0

Attention that you have to switch to the '+' picture, next time, when you have parents with childrens.

See treeviewitem properties help for more information.

Greetings
J. Cura
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top