At 14:48 2013-06-18, "Tracy Pearson" <[email protected]> wrote:

[snip]

Add a form property named "HasActivated" set the initial value to .F.
In the ACTIVATE event, set it to .T.
In your troublesome places, check the value.
    IF THISFORM.HasActivated
        *-- Your code goes here
    ENDIF

I have had a problem with activate happening at the wrong time (when focus goes off and comes back to a form (as with messagebox() for example)) so this would not work. Is there another place where I can put such a flag?

Sincerely,

Gene Wirchenko


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/
** 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.

Reply via email to