Results 1 to 3 of 3

Thread: listitem selected

  1. #1

    Thread Starter
    Member
    Join Date
    Apr 2002
    Posts
    43

    listitem selected

    Silly question I know but when the user clicks a line in my list box - how do I tell which line has been selected - I can tell how may I have altogether and how many slected but not which one.

  2. #2
    Don't Panic! Ecniv's Avatar
    Join Date
    Nov 2000
    Location
    Amsterdam...
    Posts
    5,343
    You need the extended properties of hte list box for mor than one selected.

    .selected <- status of list
    .ItemsSelected

    Look at the help files and try some code. Should return the bound/id field...


    Vince

    BOFH Now, BOFH Past, Information on duplicates

    Feeling like a fly on the inside of a closed window (Thunk!)
    If I post a lot, it is because I am bored at work! ;D Or stuck...
    * Anything I post can be only my opinion. Advice etc is up to you to persue...

  3. #3
    Frenzied Member andreys's Avatar
    Join Date
    Sep 2002
    Location
    Los Angeles
    Posts
    1,615
    List1.List(List1.ListIndex)

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