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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ListView.LabelEdit with a keystroke

Status
Not open for further replies.

bigtimmin

MIS
Apr 12, 2005
125
US
When the LabelEdit property is set to true, the user is able to modify the text of an item by clicking the item text to select it and then clicking the item text again to put the label text into edit mode. The user can then modify or replace the item's text label. However, I would like to have a Keycode invoke this. In VB.6, it would be as simple as ListView.StartLabelEdit, does any one now how to do this in VB.Net?
 
That's OK, I found it, ListView.SelectedItems(0).BeginEdit().
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top