editing listview item/subitem via dblclick
can anyone giveme a pointer or a code how to edit a listitem or subitem with a double click. I already have an example project, but some of the codes are kinda complicated. I am thinking, if i could just get the col and row value of listview it would be easier(unfortunately i dont believe that there is).
I want a textbox to appear on the double clicked cell (on alistview) and the content of such cell is then transfered to the textbox, after entering or clicking somewhere(textbox lost focus) the text of the edited cell will be then changed.
Can anyone help me on this?
Re: editing listview item/subitem via dblclick
i would recommend msflexgrid control instead of listview
Re: editing listview item/subitem via dblclick
I think it's better to use a msflexgrid to edit a cell
Edit (Ooops, by minutes)
Re: editing listview item/subitem via dblclick
yah, i also thought about that, i am a newbie and i dont know much about controls, besides im working on a program that the company is going to use soon, so i think i dont have much enough time..