Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ListBox Woes
Message
From
11/08/2004 16:16:12
 
 
To
11/08/2004 15:52:52
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00932469
Message ID:
00932476
Views:
13
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