1st one

  • Thread starter Thread starter mission2java_78
  • Start date Start date
M

mission2java_78

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

Jon
 
Just guessing, I suspect you'd have to get a RecordCount and the relevant RecordNumber to detect it.
 
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

Back
Top Bottom