Click to See Complete Forum and Search --> : How to create an editable subitem for a listview


Paul Ch
September 10th, 2001, 06:04 AM
How do you create an editing subitem like the first column in a listview? I can find articles to do this in VC++ but not VB any ideas?

John G Duffy
September 10th, 2001, 10:31 AM
ListView control is a readonly control and is not editable at Run time. The best you can do is superimpose a Textbox over the Row and Col you wish to edit and copy the users keystrokes into the Listview. There are examples of how to do this at
http://www.planet-source-code.com/vb/scripts/BrowseCategoryOrSearchResults.asp?txtCriteria=edit+listview&blnWorldDropDownUsed=TRUE&txtMaxNumberOfEntriesPerPage=10&blnResetAllVariables=TRUE&lngWId=1&optSort=Alphabetical
'
You might also search on DataGrid Edit of MSFlexGrid Edit for more samples on Http://www.Planet-Source_code.com/vb

John G