Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Hi Ulises,
>>I tried an ON KEY LABEL F2 thisform.thisfield.setfocus
Try _Screen.ActiveForm.thisfield.setfocus() "Thisform" is out of scope to an ON KEY LABEL COMMAND.
The equivalent to the SendKeys command in VB is the KEYBOARD command in FoxPro. For the purposes of what you describe you might want to check out the Keypress event, both the form and the combobox have them and they might be a more controled way to achieve what you want.
Regards,
pamela
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement