Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ListBox Woes
Message
De
12/08/2004 09:07:10
 
 
À
11/08/2004 16:56:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00932469
Message ID:
00932655
Vues:
15
I completely forgot about _INCSEEK. That did the trick.

Thanks!
>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
>>>
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform