Board index » delphi » How to put TListView in edit mode?

How to put TListView in edit mode?

 When the user click on a caption in the listview, it goes into edit mode.
I want the user to be able to go into edit mode by pressing F2 og something,
just like in Windows Explorer.

 

Re:How to put TListView in edit mode?


In comp.lang.pascal.delphi.components.misc Brian Fl?e S?rensen <STOP...@ramboll.dkSPAM> wrote:

Quote
>  When the user click on a caption in the listview, it goes into edit mode.
> I want the user to be able to go into edit mode by pressing F2 og something,
> just like in Windows Explorer.

listview1.selected.editcaption

Bye,
   Andy

--
----------------------------------------------------------------------------
Andreas H"orstemeier                       | "We are not interested in
email: a...@scp.de                           | little green men, but in little
       a...@hoerstemeier.de                | green women."
www:   http://www.westend.de/~hoerstemeier | (Edwin "Buzz" Aldrin)
fido:  2:2452/108                          |
----------------------------------------------------------------------------  

Other Threads