Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dblclk and comboboxes
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00082932
Message ID:
00082981
Vues:
33
>>>Is there any way to use dblclk event of comboboxes ?
>>>In one of our forms comboboxes work fine (dblclk goes
>>>to registers mainentance form) but anywhere else it don't
>>>work.
>>>
>>>The only difference between forms is that the working
>>>form uses SQL as row source and the non-working forms
>>>use alias.
>>
>>Dblclick event always works regardless Rowsourcetype. The question is: what code do you use in this event?
>
>I finally found the reason. DblClick works for dropdown combos but don't
>work for dropdown listboxes. Really annoying.

Yes, you're right, but there is workaroud here:
***Combo.Click event
if seconds()-thisform.nSec<0.2   && or another value to accomodate user's typing
	this.dblclick()
endif	
***Combo.Dropdown event
thisform.nSec=seconds()   && set thisform.nSec=0 in Form.Init event
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform