Results 1 to 5 of 5

Thread: which checkbox was clicked

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Mar 2005
    Location
    Italy-Napoli
    Posts
    2,022

    which checkbox was clicked

    I have listview with a checkbox in all rows items.
    i need to know which checkbox was clicked or unclicked, and return a index number of row.
    Possible?

  2. #2
    Frenzied Member
    Join Date
    Mar 2008
    Posts
    1,176

    Re: which checkbox was clicked

    If Item(n).Selected then do something...

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Mar 2005
    Location
    Italy-Napoli
    Posts
    2,022

    Re: which checkbox was clicked

    Quote Originally Posted by Magic Ink View Post
    If Item(n).Selected then do something...
    ????

  4. #4
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    32,954

    Re: which checkbox was clicked

    there should be an event... ItemCheckChanged I think it is...

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  5. #5
    VB-aholic & Lovin' It LaVolpe's Avatar
    Join Date
    Oct 2007
    Location
    Beside Waldo
    Posts
    19,478

    Re: which checkbox was clicked

    Quote Originally Posted by techgnome View Post
    there should be an event... ItemCheckChanged I think it is...

    -tg
    It's just: ItemCheck and passes the ListItem that changed.
    Insomnia is just a byproduct of, "It can't be done"

    Classics Enthusiast? Here's my 1969 Mustang Mach I Fastback. Her sister '67 Coupe has been adopted

    Newbie? Novice? Bored? Spend a few minutes browsing the FAQ section of the forum.
    Read the HitchHiker's Guide to Getting Help on the Forums.
    Here is the list of TAGs you can use to format your posts
    Here are VB6 Help Files online


    {Alpha Image Control} {Memory Leak FAQ} {Unicode Open/Save Dialog} {Resource Image Viewer/Extractor}
    {VB and DPI Tutorial} {Manifest Creator} {UserControl Button Template} {stdPicture Render Usage}

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