Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Prevent Double Click
Message
De
02/06/2014 11:28:50
 
 
À
15/05/2014 11:39:37
Steven Dyke
Safran Seats USA
Texas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows Server 2008
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01600043
Message ID:
01601118
Vues:
160
>I have a form with combo box. If the user double clicks a list item and it happens to be over another control, the other control gets clicked.
>
>How can this be prevented?


Hi,

I have constructed a class: A double click on an item in the dropdown which is over an other control prevents the other control to get clicked.
You have to set in the init of your combobox the propertie(s) which you want to protect.
See attached form1, Combo colours is with this class, combo cities is the native combo.
The class needs to be enhanced so that you can also use this combo in a grid.
For the time being, although called klumsy and idiosyncratic it prevents users to make a remark and it also prevents the by-design flaw in VFP.

Feel free to report any bugs and enhancements.

Koen
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform