Glenn,
I traced the code when the user clicks on an item.
The mousedown, paint, then mouseup are fired.
At no point during those three methods is the listitemid = the disabled item.
For example, assuming that item 2 is disabled...
If I click on 8 (enabled) then 2, the listitem is 8
If I click on 2 twice in a row, it is 8 the first time, then 1 the second.
Seems to me that when you click on a disabled item, the listitemid then reverts to the top of the list.
So, at no point can I actually test if the disabled item has been selected.
I would have thought that this issue would have been noticed before (and hopefully resolved).
I must be missing something somewhere, but I don't know what!
>You can loop throught the items in your list box
>
>
>With thisform.listname
>
>FOR I = 1 to .Listcount