Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Avoid having pageframe on TAB #1
Message
De
09/01/1997 08:55:28
Bill Gravell
Indoor Purification System
Menifee, Californie, États-Unis
 
 
À
08/01/1997 19:46:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00016833
Message ID:
00016886
Vues:
42
>I have a pageframe having some controls in it. The pageframe is my top level control in the form.
>
>By default, Visual FoxPro is focusing on the pageframe at run time when entering the form.
>
>I would like to have my focus on the first control of page 1 without having to write some code. I tried PageFrame.TabStop=.F. but that doesn't help to put my focus on object #1 in the tab order of my page 1 controls. I tried putting PageFrame.TabIndex to 0 but it is the same as 1.

Michel, I had a similar problem and used THISFORM.PAGEFRAME.PAGENAME.CONTROL.SETFOCUS in the activate method of the form, and it set the focus to the control on the 1st page of the pageframe.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform