Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Drop down combo box issues
Message
De
12/10/2001 08:25:46
 
 
À
11/10/2001 14:01:01
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00505841
Message ID:
00567501
Vues:
30
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform