Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set Focus Problems
Message
De
04/06/1996 16:36:31
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00001895
Message ID:
00001924
Vues:
47
>>I have a form on which I have placed an OPTION
>>GROUP with 3 options. I would like the focus to
>>go to a specific control on the form depending
>>upon which option the use PRESSES ENTER ON. This
>>seems impossible. The natural place would seem
>to
>>be in the KEYPRESS EVENT but the keypress itself
>>seems to get executed after the focus is set on
>>the desired control ... causing the focus to be
>>passed to the next control. There is no problem
>>with a MOUSE CLICK just the KEYPRESS. Any
>>thoughts ?
>
>
>I use the VALID method.
>
>
>Tom

Doesn't work.

Let me state the specific circumstances. It is simple in theory ... but difficult in practice.

Form contains (in this tab order) a TEXTBOX, COMMAND BUTTON, OPTION GROUP. If the user presses the ENTER key while the OPTION GROUP is the active control I wish control to go to the TEXTBOX.
I am unable to make this happen.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform