Dave Crozier wrote:
> Vince,
> I use this "Browse then Edit" feature extensively and do the following.

Dave,

Thanks for the reply.  The method you outline is exactly how I do it, as 
well, except that I use a Modal window to edit.

However, going over your e-mail made me realize that the only reason I 
was using Modal was to hide the calling screen, and then delay the 
requery() until I returned.

I realized that I had already solved the hide() problem by having the 
calling form hide() itself, and having the called form call show() in 
it's destroy() method. All I needed to do was delay the requery().

Then I had a "DOH!" moment.  I simply moved the requery code and any 
other code I wanted to delay) into the Show() method of the calling 
form.  I had changed the called form from Show() to Show(9) (an invalid 
parameter) and then tested the Show() parameter.  If it is 9, I know 
that the called form was ended, and I executed the code I wanted.  Works 
like a charm.

Your message didn't give me the answer, but it *did* force me to 
re-examine why I was using modal, which led to the answer.

Thank you!



_______________________________________________
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.

Reply via email to