Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cick in ListBoxes sometimes mis-fires
Message
De
21/01/2008 06:39:10
 
 
À
20/01/2008 16:36:42
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Vista
Divers
Thread ID:
01283464
Message ID:
01283563
Vues:
14
I have a form with numerous Listboxes.
Most are on pages of a pageframe but some are not.

I have been very careful to ensure that I am fully over a line in a Listbox when I click on it.

Far too often the Click() action is executed BUT the peviously selected item (or no item at all if none was selected) is the .Value available rather than the one I just clicked on. The clicked-on item also remains UNselected visibly.


I have seen this same behavior in XP when the listbozes are on pages in a pageframe and they "overlap" each other.

The only solution that I found was to move all the listboxes on the non-visibles pages so that they were not underneath the listbox on the active page. I added a custom method called SetControls to my form to handle all the re-positioning of the listboxes and called it when the active page changed.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform