|
-
Apr 30th, 2000, 05:31 AM
#1
Thread Starter
Hyperactive Member
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?
-
Apr 30th, 2000, 05:54 AM
#2
Thread Starter
Hyperactive Member
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.
-
Apr 30th, 2000, 05:57 AM
#3
Addicted Member
list1.text = text of whatever item is selected.
-
Apr 30th, 2000, 06:00 AM
#4
Thread Starter
Hyperactive Member
Thanks!
Thanks! I never even knew it had that.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|