Discussion Locked

Edit a Listview In VB6

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I want to know if I can have a hybrid of a datagrid and an LV. I want to be able to edit a value in my listview, but I cant use DBGrid because I also want to be able to auto-select all entries in the LV.

1 reply

by juergen hartl

editing the first entry in a LV is quite simeple , lv.StartLabelEdit. Editing subitems is not supported, you could however show a textBox with the appropriate subitem in it, then upon a certain key (Keydown/up event) update that subitem and then hide the textbox.
Hope this helps.

This discussion is closed to new replies.