Results 1 to 4 of 4

Thread: editing listview item/subitem via dblclick

  1. #1

    Thread Starter
    Addicted Member leinkyle's Avatar
    Join Date
    Mar 2008
    Location
    Manila
    Posts
    150

    Exclamation 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?
    No matter how hard life is, you still have to learn how to smile..ayt?!


    Sorry still a Newbie

    As a developer, one of your inherent traits is supposed to be your flexibility and adaptability to any new environment.
    "Aargh, not the eyes, oh it burns. It burns!"

    ---mhendak

  2. #2
    Addicted Member
    Join Date
    Mar 2008
    Posts
    143

    Re: editing listview item/subitem via dblclick

    i would recommend msflexgrid control instead of listview

  3. #3
    Frenzied Member
    Join Date
    May 2006
    Location
    some place in the cloud
    Posts
    1,886

    Re: editing listview item/subitem via dblclick

    I think it's better to use a msflexgrid to edit a cell

    Edit (Ooops, by minutes)

  4. #4

    Thread Starter
    Addicted Member leinkyle's Avatar
    Join Date
    Mar 2008
    Location
    Manila
    Posts
    150

    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..
    No matter how hard life is, you still have to learn how to smile..ayt?!


    Sorry still a Newbie

    As a developer, one of your inherent traits is supposed to be your flexibility and adaptability to any new environment.
    "Aargh, not the eyes, oh it burns. It burns!"

    ---mhendak

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width