Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Need help keeping focus on a toolbar in a formset
Message
De
29/06/1999 09:51:45
 
 
À
29/06/1999 09:46:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00235198
Message ID:
00235206
Vues:
23
>I have tried the following code in the click event of the toolbar and also the text field of the form which appears to have the focus under the gotfocus event, but neither seems to work.
>
>I would appreciate any help anyone could give.
>
>Thanks,
>
>Pat

Toolbars nor controls in them ever really get focus. Your toolbar button should be calling a method in your form to process it's function.

_Screen.ActiveForm.Next()

this way, in your form class you can have the keypress event look for a space bar and have it call thisform.Next()

BOb
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform