Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>1) Make the cursor (focus) go to a certain field by means of pressing a key like F2, but only while I am in a given form?
>I tried an ON KEY LABEL F2 thisform.thisfield.setfocus
>but got a message saying thisform can only be used within a method.
>
>2) I have several combo boxes in a form and I'd like them to display (open) automatically when getting the focus. I'm looking for an equivalent SendKeys command in Visual Basic, but can't find any.
>
>Thanks in advance.
>Ulises.
ad1) How about _screen.activeform.specobject.setfocus()
ad 2) at gotfoucus KEYBOARD '{ALT+DNARROW}'
Hopes this helps
Lasse
Précédent
Suivant
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