Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Listbox numeric values and speedsearch
Message
 
 
À
02/12/2004 12:31:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
00966403
Message ID:
00966466
Vues:
9
This message has been marked as the solution to the initial question of the thread.
Set the form's KeyPreview to .T. and change list1.KeyPress to:
	PROCEDURE KeyPress
		LPARAMETERS nKeyCode, nShiftAltCtrl
		DO CASE
			CASE nKeyCode = 13 .or. nkeyCode = -9	&& Enter or F10
				THISFORM.cmdOK.click
			CASE nKeyCode = 27	&& escape
				THISFORM.cmdCancel.click
			OTHERWISE
				DODEFAULT(nKeyCode, nShiftAltCtrl)
		ENDCASE
	ENDPROC
Mark McCasland
Midlothian, TX USA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform