Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
TAB in a pageframe
Message
De
19/10/1998 13:19:11
 
 
À
19/10/1998 13:04:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00148185
Message ID:
00148189
Vues:
19
>I want a user the select page's in a pageframe in just two ways:
>1. when clicking with the mouse
>2. when using a short-cut key
>That's not the problem, my problem is that I don't want to use a TAB to select a page. When a user is selecting a page (mouse or short-cut) I want the focus to be set on the first control on that page or on the control that in a previous selection of that page was active.
>Who has a simple solution???

You have Page.Activate event to move focus programmatically, e.g. This.ControlX.Setfocus
If you want to move focus to the previously active one, then you should keep this control's index (in some custom property) and then issue:
This.Controls(Thisform.LastActiveControlIndex).Setfocus
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform