1st one (1 Viewer)

M

mission2java_78

Guest
Is it possible to check if the FIRST item of a listbox has been highlighted..

Jon
 
R

Rich

Guest
Just guessing, I suspect you'd have to get a RecordCount and the relevant RecordNumber to detect it.
 

pono1

Registered User.
Local time
Yesterday, 19:23
Joined
Jun 23, 2002
Messages
1,186
M,

Something like this would have meaning if you're not changing the sort order of your list box on the fly...

If Me.LstBoxName.Selected(0) = -1 Then
MsgBox "The first item is selected"
End If

Regards,
Tim
 

Users who are viewing this thread

Top Bottom