Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Page.Activate()/form.Activate() problem
Message
De
01/12/2003 11:00:42
Gary Foster
Pointsource Consulting LLC
Chanhassen, Minnesota, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Page.Activate()/form.Activate() problem
Divers
Thread ID:
00854696
Message ID:
00854696
Vues:
62
Hi all,
I have a situation with page.activate() I am trying to resolve. Specifically, if a form has a pageframe and the form loses focus, the pageframe's active page's activate fires when the form regains focus even when the active control isn't on the page, i.e., the pageframe didn't have focus when the form lost focus.

I have code in the activate method of my pages that I want to fire when the page receives focus because a contained control gets focus or the user clicks on the page tab, for example, but not just because I moved to another form, such as a lookup form and returned.

VFP8 sp1 default behavior is for the page.activate() to always run before the form.activate(), so I can’t intercept it at the form level. Any ideas?

Thanks.

Gary
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform