Answer Dialog location
Alan Stenhouse
alanstenhouse at hotmail.com
Sat Jul 27 04:24:48 EDT 2013
G'day Cal
Quote from the online docs:
---
The position and appearance of the dialog box varies between platforms. On Mac OS systems, the dialog box is centered on the screen; on Unix and Windows systems, the dialog box is centered over the active window. On Windows systems, the buttons are shown in reverse order (the first button is on the right side).
---
Presumably you're on windows/linux...?
One solution might be to create a small stack for use when using your error answer dialog and set it's location to the middle of the screen (and invisible) and then close it when you're done...? i.e. so whenever you run your error handler you open inv the window in the screenloc and then answer your info...
Does that make sense?
HTH
cheers
Alan
On 27/07/2013, at 6:43 AM, use-livecode-request at lists.runrev.com wrote:
> I have implemented a modified error checking handler in the topmost stack in
> a multi-stack application and the standard "answer dialog" is popping up
> over the topmost stack instead of in the middle of the screen. To me this is
> a problem.
>
> I was sure that I had seen an answer to my problem in the forum, but I can't
> find that answer anywhere. Just replies that tell us to build our own dialog
> stack. Which I would rather not do at this late stage in the project.
>
> Surely there must be a simple answer such as setting the location of the "answer" stack. Please answer with something simple, other than building my own stack.
More information about the use-livecode
mailing list