As I said the other day, You don't have to reinvent the PAUSE box. Use the Windows API MessageBox function as it accepts a window HANDLE to make it modal to the form that calls it.
Example www.byerley.net/MessageBoxFunc.rmd The example is of the MessageBox function only with comments near the bottom to describe how to get the HANDLE of the calling form using GetProperty in the OnAfter EEP. The Dialog Box you are not going to be able to replicate unless you can assign a parent HWND to it. ----- Original Message ----- From: <[email protected]> To: "RBASE-L Mailing List" <[email protected]> Sent: Thursday, May 03, 2012 10:48 AM Subject: [RBASE-L] - Re: pause dialog boxes going behind form : For these kinds of things, the problem is making sure they actually : selected something rather than just ignoring it. So for yes/no questions I'd be : tempted to put a radio group on the form, with nothing selected. If there's : a prompt where they can type something in or leave it blank, you might have : to have a checkbox to signify "leave it blank". Then on the print button : you just check that all the variables have been entered by the user. : : The thing that would be hard to do is: I can think of dozens of times : where I have a button on a form and I put up a dialog box asking them to confirm : that they want to do it before it continues. I guess you would have to pop : up a "message form" asking that question rather than a dialog box? : : If this problem becomes more widespread then it's time to think about : designing one generic pause and dialog "form", passing in parameters, and getting : rid of pause and dialog. That would work for "pause 2" types of prompts, : but not the "pause 3" that you might use to indicate a process is going on. : : Karen : : : In a message dated 5/3/2012 9:41:33 AM Central Daylight Time, : [email protected] writes: : > I am thinking of making a variable message box with a button on the form : > itself. It will ask them the questions and instructions in that box instead : > of using dialog/pause commands. : >

