Groups | Blog | Home
all groups > vb.net controls > august 2005 >

vb.net controls : List view help


sonali_reddy123 NO[at]SPAM yahoo.com
8/19/2005 2:52:44 AM
Hi all,


I am having a problem regarding use of a listview in VB.NET
application.


Actually I want my listview should behave like a explorer so that
If by using a menu If I select an option "New Folder" then will
create a folder with a default name as "New Folder".
Currently I can display an Icon for a folder with an empty string
In place of its name.
Is there any way that it should display the folder with a default
name as New folder with its lable set to editable so that i can
change it to whatever name I want.


'here is some part of code
on my menu click for new I have written like


lvItem = lstFMLocal.Items.Add("") 'lstFMlocal my listview
where insert


lvItem.BeginEdit()


'and in the afterLabelEdit event I am actaully adding the folder
'with a user specified in my directory.


Any help is invitable
Bob S
8/30/2005 12:00:00 AM
Check out http://www.ssware.com


[quoted text, click to view]

AddThis Social Bookmark Button