Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo Question
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Titre:
Combo Question
Divers
Thread ID:
00352936
Message ID:
00352936
Vues:
64
I have a combo with incremental search on a form. In the interactive change event, I have this code:
LOCAL l_cSeekDoc
WITH THISFORM
	.LOCKSCREEN=.T.
	l_cSeekDoc=.cbocode.VALUE
	SELECT DOCUMENT
	SEEK l_cSeekDoc
	.txtrmrev.value=alltrim(DOCUMENT.revision)
	.txtrmname.value=alltrim(DOCUMENT.TITLE)
	This.value=l_cSeekDoc
	SELECT devdata
	.txtrmrev.readonly=.t.
	.txtrmname.readonly=.t.
	.txtQuantity.setfocus()
	.REFRESH()
	.LOCKSCREEN=.F.
ENDWITH
It works as I had hoped if the user chooses the cbocode with the mouse...the other information is placed in the appropriate fields and the curser is moved to the quantity.

But this doesn't have the desired effect when a user tabs into the cbocode field and tries to key in the code number. How can I make this work? I would like either data entry approach to work.

TIA,
Phil Thomas
http://phillipdthomas.com

Never let your energy or enthusiasm be dampened by the discouragements that must inevitably come.....
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform