Web Development

General discussion


Edit a Listview In VB6

By tsonzo ·
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.

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Comments

Collapse -

by Juergen Hartl In reply to Edit a Listview In VB6

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.

Related Discussions

Related Forums