Edit Listview item

  • Thread starter Thread starter Stanley
  • Start date Start date
S

Stanley

Hi all! I have problem trying to edit the item in listview. When I set
LabelEdit to True, I can only edit the first column's item. How about
editing another column's item?? Thanks in advance!

Stanley
 
Stanley said:
Hi all! I have problem trying to edit the item in listview. When I set
LabelEdit to True, I can only edit the first column's item. How about
editing another column's item??

That's not supported out of the box.
 
Stanley said:
Hi all! I have problem trying to edit the item in listview. When I
set LabelEdit to True, I can only edit the first column's item. How
about editing another column's item?? Thanks in advance!

Not supported by the listview. Maybe a datagrid (which is pretty different)
is the appropriate control.

Armin
 
It isn't that difficult to implement this kind of behaviour yourself... if
you derive a new class from listview, handle mouse clicks to popup an edit
box across the right row/column you can more or less get it working right.
 
Thanks for reply, but I don't think I can implement class from
listview. I'm not good enough! :(
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top