S
sonali_reddy123
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
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