Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setting to Re-highlite Selected Item?
Message
 
To
30/06/2004 10:32:35
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00917324
Message ID:
00919159
Views:
9
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
Regards,

Allan Coganovitch
allanc@proven-solutions.com
Previous
Reply
Map
View

Click here to load this message in the networking platform