Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dblclk and comboboxes
Message
From
06/03/1998 09:34:16
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00082932
Message ID:
00082981
Views:
29
>>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform