Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Where to Issue SetFocus for First Object on Page
Message
De
03/08/2001 11:05:12
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00539389
Message ID:
00539396
Vues:
12
>>I've heard it said that it's not a good practice to issue SetFocus in the Activate of a page. I notice by event tracking that the Activate of a page seems to fire more often than I would expect it to, so I understand why setting focus there might be a bad idea. If I want to explicitly give the focus to a specific control when the page becomes active, where would I do it? Thanks!
>>
>>Regards, Renoir
>
>Renior;
>
>You could use the Init.
>
>Tom

Tom,

Wouldn't that only fire one time? Seems to me that the page Activate should only fire when the page is actually activated via Pageframe.ActivePage or a click on the page, etc. Looks to me like it fires a heck of a lot more often than that.

Renoir
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform