Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: OuTLawZGoSu on July 23, 2003, 09:38 PM

Title: Need help in adding a click event to a List1.....
Post by: OuTLawZGoSu on July 23, 2003, 09:38 PM
Sup... How can add a click event to List1. List1 displays the users in a channel you are in. i need to know how to add a click event to those items.
since they are always changing, i can not get how do do that.
All i need is for a msgbox to show up with username on it.

Hope you can help ^^

L8terZ

-DrE-
Title: Re:Need help in adding a click event to a List1.....
Post by: TriCk on July 23, 2003, 09:39 PM
Is List1 a listbox or a listview?
Title: Re:Need help in adding a click event to a List1.....
Post by: OuTLawZGoSu on July 23, 2003, 09:41 PM
listbox
Title: Re:Need help in adding a click event to a List1.....
Post by: TriCk on July 23, 2003, 09:47 PM
Private Sub List1_Click()
MsgBox(List1)
Title: Re:Need help in adding a click event to a List1.....
Post by: TriCk on July 23, 2003, 09:47 PM
***End Sub

lol forgot that
Title: Re:Need help in adding a click event to a List1.....
Post by: Camel on July 24, 2003, 01:21 AM
Quote from: TriCk on July 23, 2003, 09:47 PM
***End Sub

lol forgot that

That's what the 'modify' link is for.