Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dblclk and comboboxes
Message
From
06/03/1998 20:18:28
 
 
To
06/03/1998 09:34:16
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00082932
Message ID:
00083163
Views:
30
>>>>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
>
Hi, Why not simple use RightClick instead??
Sure User don't use wrongly!! Even I use RightClick instead of drag-drop!!
Quick faster!! The Only THing to do is to make a good documentation!
The weak wait for chance, The strong bid for chance,
The clever notch up chance, but The merciful give you chance.
Previous
Reply
Map
View

Click here to load this message in the networking platform