Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ListBox Woes
Message
From
11/08/2004 16:56:55
 
 
To
11/08/2004 16:35:42
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00932469
Message ID:
00932496
Views:
17
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
>>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform