Welcome to Dream.In.Code
Getting VB Help is Easy!

Join 136,450 VB Programmers for FREE! Get instant access to thousands of VB experts, tutorials, code snippets, and more! There are 2,063 people online right now. Registration is fast and FREE... Join Now!




Expand treeview

 
Reply to this topicStart new topic

Expand treeview

CheyNash
25 Jul, 2008 - 01:11 AM
Post #1

New D.I.C Head
*

Joined: 18 Jul, 2008
Posts: 6

Dear experts,

can some one tell me how I can expand a complete treeview at runtime without click all the nods , so I can search the whole tree by typing a caracter.
If code is needed, please send me an VB6 example.
Regards
CheyNash
User is offlineProfile CardPM
+Quote Post

dineeshd
RE: Expand Treeview
25 Jul, 2008 - 02:01 AM
Post #2

D.I.C Addict
Group Icon

Joined: 30 Jun, 2008
Posts: 578



Thanked: 16 times
Dream Kudos: 575
My Contributions
May be this is what you are looking for.... rolleyes.gif

vb
TreeView1.ExpandAll() 

User is offlineProfile CardPM
+Quote Post

CheyNash
RE: Expand Treeview
25 Jul, 2008 - 02:48 AM
Post #3

New D.I.C Head
*

Joined: 18 Jul, 2008
Posts: 6

QUOTE(dineeshd @ 25 Jul, 2008 - 03:01 AM) *

May be this is what you are looking for.... rolleyes.gif

vb
TreeView1.ExpandAll() 



Dear dineeshd

all I can see as a solution in your answer is "TreeView1.ExpandAll() ", maybe You forgot to insert code.
This is probably the start of a sub.

sorry to disturb you again, but thanks for the replay.

Cheynash
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 12/2/08 03:04PM

Live VB Help!

VB Tutorials

Reference Sheets

VB Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month