Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setting to Re-highlite Selected Item?
Message
 
À
30/06/2004 10:32:35
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00917324
Message ID:
00919159
Vues:
8
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform