Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ListBox Woes
Message
De
11/08/2004 16:56:55
 
 
À
11/08/2004 16:35:42
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00932469
Message ID:
00932496
Vues:
18
This message has been marked as the solution to the initial question of the thread.
Hmmmm...
Maybe in your case you must check _INCSEEK system variable value..
In any case dodefault() in Keypress was wrong <s>

Denis

>Still it only works if I wait 3 seconds between keys pressed...
>
>
>>Hi Tracy,
>>I test it in VFP8 (SP1)
>>
>>
>>	Procedure lstletter.KeyPress
>>	Lparameters nKeyCode, nShiftAltCtrl
>>
>>	If Lastkey() = 13 .Or. Lastkey() = -9
>>		nKeyCode = 13
>>		nShiftAltCtrl = 0
>>	Endif
>>
>>	If nKeyCode = 13 .Or. nKeyCode = -9
>>		Nodefault
>>		Clear Typeahead
>>		Thisform.cmdok.Click
>>*!* Remove dodefault() from your keypress event code
>>*!*	Else
>>*!*		DoDefault()
>>	Endif
>>	Endproc
>>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform