Information générale
Titre:
Page.Activate()/form.Activate() problem
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement