Results 1 to 4 of 4

Thread: Lists

  1. #1

    Thread Starter
    Hyperactive Member Zaphod64831's Avatar
    Join Date
    Mar 2000
    Posts
    268
    I know this is a very easy problem for you advanced users to answer, so here goes:

    I am making a program with MsAgent which includes a listbox full of animations, I have already filled the listbox but there are so many that I don't want to put code in each little list item. I thought that this code might do it under the List1_Click sub, but it didn't.

    Code:
    Private Sub List1_Click()
    
    Merlin.Play List1.Selected
    
    End Sub
    But this should give you enough of an idea on what I'm trying to accomplish, can anyone help?
    Email: [email protected]

    Home Page: www.olemac.net/~hutch

    I'm bored, VERY bored, and I got bored with my sig. So I changed it to this.

  2. #2

    Thread Starter
    Hyperactive Member Zaphod64831's Avatar
    Join Date
    Mar 2000
    Posts
    268
    Ok, let me simplify, I need to know what the text of the selection the user makes is when the user clicks on the listbox.

    I probably should have said that sooner.
    Email: [email protected]

    Home Page: www.olemac.net/~hutch

    I'm bored, VERY bored, and I got bored with my sig. So I changed it to this.

  3. #3
    Addicted Member
    Join Date
    Mar 2000
    Location
    Gainesville, FL
    Posts
    131
    list1.text = text of whatever item is selected.

  4. #4

    Thread Starter
    Hyperactive Member Zaphod64831's Avatar
    Join Date
    Mar 2000
    Posts
    268

    Talking Thanks!

    Thanks! I never even knew it had that.
    Email: [email protected]

    Home Page: www.olemac.net/~hutch

    I'm bored, VERY bored, and I got bored with my sig. So I changed it to this.

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