Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Drop down combo box issues
Message
From
15/10/2001 09:27:12
 
 
To
12/10/2001 08:25:46
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00505841
Message ID:
00568481
Views:
26
>Hi Dodi.
>
>>> I was able to find an alternative solution. :) Changed _DBLCLICK to 3 seconds in the GotFocus() and then reset it in the LostFocus(). <<
>
>In use this code in the GotFocus of my drop down list root class:
>
>
>WITH This
>  IF .IncrementalSearch
>    *** We now need code to check the version number here because VFP 7
>    *** Does not use _DBLCLICK for Incremental Search
>    IF VERSION( 5 ) > 699
>       *** We are in VFP 7.0 or later
>       .nOldDblClick = _INCSEEK
>       _INCSEEK = 1.5
>    ELSE
>       *** Set interval of _DBLCLICK high enough if we are using VFP's
>       *** native incremental search
>       .nOldDblClick = _DBLCLICK
>       _DBLCLICK = 1.5
>    ENDIF
>  ENDIF		
>  .uOldVal = This.Value
>ENDWITH
>
>
>And this is what I have in the lost focus:
>
>
>*** We now need code to check the version number here because VFP 7
>*** Does not use _DBLCLICK for Incremental Search
>IF VERSION( 5 ) > 699
>    _INCSEEK = This.nOldDblClick
>ELSE
>    _DBLCLICK = This.nOldDblClick
>ENDIF
>
Wow, many thanks. I appreciate it!
Thanks!
~d
J
Previous
Reply
Map
View

Click here to load this message in the networking platform