General information
Title:
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
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only