How can I select a ListBox item with the right mouse button? Thanks!
Morgan [email protected] - Home [email protected] - Work Using VB6 SP6 but trying to learn VB2005EE
hmmm.... Code: Private Sub List1_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single) If Button = 2 Then List1.Selected(1) = True End If End Sub But I'm not able to figure out what the clicked item is yet, maybe in the meantime someone else can help you. I'll try to figure it out for ya.
Private Sub List1_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single) If Button = 2 Then List1.Selected(1) = True End If End Sub
Jop - validweb.nl Alcohol doesn't solve any problems, but then again, neither does milk.
Hey... ...I found it! http://www.mvps.org/vbnet/code/lista...eclick-two.htm Have fun
WOW!! Looks like that'll work! Thanks a TON!!
Forum Rules