no you can't read the mouse position in the on click event. But I don't see how it can be giving you the data from the previous record
if you click on a listbox item
the events occur in this order
MouseDown,MouseUp,beforeupdate,afterupdate,click
all in a matter of milliseconds(or seconds on this old system)
lets walk thru the code
Private Sub List6_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
intcolpos = X
End Sub
my public variable now is set to the position I just clicked
mouseup,and beforeupdate have occured now list0 is updated with the new selection
Private Sub List0_AfterUpdate()
If intcolpos > 1440 Then
MsgBox List0.Column(1)
Else
MsgBox List0.Column(0)
End If
End Sub
I ran this code for several tests and never once got the wrong value
perhaps if you post you code pr better explain what you are trying to do with the column