Mouseup Event on a ListBox Control (1 Viewer)

ray147

Registered User.
Local time
Today, 05:35
Joined
Dec 13, 2005
Messages
129
I am encountering a strange problem...

I have a listbox on a form and I'm trying to get the ListIndex value when the user right-clicks on the form. I'm trying to do this by using the MouseUp event...however this is not returning the right values all the time for some reason...The OnClick event works perfectly, however the MouseUp doesn't return the right values all the time..

I am attaching a sample DB with just one table and form and when one clicks on the form, the (ListIndex + 1) value of the OnClick and MouseUp events is given...as you will notice, they won't always return the same figure...

any ideas abt this would be greatly appreciated!
:)
 

Attachments

  • mouse-up.zip
    16.9 KB · Views: 133

Users who are viewing this thread

Top Bottom