all groups > vb.net upgrade > november 2003 >
You're in the

vb.net upgrade

group:

How to make a viewtree editable!


How to make a viewtree editable! mynfred
11/13/2003 6:46:24 PM
vb.net upgrade: Hi, all,

Is there a way to make the viewtree can editted, that's
to say, when right click the tree node, can display a menu
to reset the node content, moreover, Is there any way to
add a icon for each node?

thanks in advance!

Re: How to make a viewtree editable! hirf-spam-me-here NO[at]SPAM gmx.at
11/14/2003 12:30:51 PM
* "mynfred" <anonymous@discussions.microsoft.com> scripsit:
[quoted text, click to view]

TreeView content menu:

<http://makeashorterlink.com/?K233612F3>

Images:

Add an ImageList control to your form, add the images and assign it to
the TreeView's 'ImageList' property. Then select the images for the
nodes in the editor for the 'Nodes' collection.

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>

Re: How to make a viewtree editable! Ayaz Ahmed
3/29/2004 4:51:42 AM
Hello,

yah you edit tree view on right click menu , but also not a node level ,
you input the value in a text box then update and refresh tree which
node you want to update.

Thanks,

Warm Regards,

Ayaz Ahmed
Software Engineer & Web Developer
Creative Chaos (Pvt.) Ltd.
"Managing Your Digital Risk"
http://www.csquareonline.com
Karachi, Pakistan
Mobile +92 300 2280950
Office +92 21 455 2414

*** Sent via Developersdex http://www.developersdex.com ***
AddThis Social Bookmark Button