How about using the On Activate event? That should trigger an action
when the original form becomes the frontmost form.
Allen
john convey wrote:
>
>
> Hi,
>
>
> I think this has come up before.
>
> I have an on load event in a form and it is enables so fires ok when the
> form is opened its in a loop and
> works each time the form is opened ... except
>
> There is a button on that form that opens a new window as a new process.
> when the process is complete
> then the window is closed and the user is returned to the original form.
>
> I want to run some code at that point on the original form.
> on load does not fire here.
>
> I've tries all other events that sound as if they might, eg 'on getting
> focus' but no joy,
> the events are enabled in the form properties actions.
> I can get on mouse move to run the code but this is OTT. IT keeps
> running when ever the user moved the mouse...
>
> any feedback much appreciated
>
> John
> John convey
>
> **********************************************************************
> 4D Basics hosted by 4D, Inc.
http://www.4D.com/>
> Better, faster, more powerful code.Learn how without leaving the office!
>
http://www.4d.com/support/training.html>
> To Unsubscribe: mailto:
4DBasics-off@...
> **********************************************************************
>
>
**********************************************************************
4D Basics hosted by 4D, Inc.
http://www.4D.com/Better, faster, more powerful code.
Learn how without leaving the office!
http://www.4d.com/support/training.htmlTo Unsubscribe: mailto:
4DBasics-off@...
**********************************************************************