On Apr 17, 2007, at 2:42 PM, Kevin Cully wrote:
> I want to call a method when a user is leaving the second page, and
> clicking on the first page. I don't want to call this method when the
> form is losing focus, in the situation where the user is clicking onto
> another form.
>
> How would I do this? THISFORM.pgfForm.Click()? Is there a
> THISFORM.pgfForm.ChangeOfPage() type of event?
I routinely add invisible labels to pages when I need to track such
events. In your case, in the UIEnable event of each, I would add code
to record the page in a form-level (or container-level) property when
lEnable=.F. Then on the first page I would check for lEnable=.T., and
if the prior page is page 2, do whatever you need.
-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.