i've set this thing up..so i have a form with a list box control on it and i want that when the user right-clicks on the list box, the row selected would be noted in order to open a contacts tab... however i'm encountering probs..
I used the MouseUp event as follows:
Private Sub List0_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
Select Case Button
Case 2 ' right click
However, it seems the ListIndex property is not returning the right row number...at first it starts returning the right row number but after a few right-clicks, the numbers are messed...
i am attaching a sample database for u to browse..