Hi Marcia, I have been experiencing this as well and will try implementing this solution today,
I have one question about your reply below - Why do you say 'tsk, tsk, tsk' if using base classes? We have a framework of base classes that we use - I thought this was good programming practice, or maybe I am misunderstanding.
Thanks Marcia,
David
>
Unfortunately, and its been happening on a few occasions, control doesn't return to what should be the active batch control form - focus drops to the form behind it (the control centre form the batch form was called from). The background form can be moved around, but nothing executes like button pushes etc, and the foreground form that should have the focus decides to play dead.>
>This code in the form class's Activate that your modal forms are based on - if you are using base classes (and if you are -tsk! tsk! tsk!), this must go in the activate of each form:
>
>
>IF This.WindowType = 1
> This.AlwaysOnTop = .T.
> This.AlwaysOnTop = .F.
>ENDIF
>