Answer Dialog location

Scott Rossi scott at tactilemedia.com
Sat Jul 27 01:05:16 EDT 2013


Are you sure you don't have a handler somewhere that is positioning the
dialog?  Because the default behavior *is* to position the answer dialog
in the middle of the main display.

This is the routine I use when I want the dialog to appear at a specific
location:
on suspendStack
   if "answer dialog" is among the lines of the openStacks then
      set the topLeft of stack "answer dialog" to 100,100
   end if
end suspendStack


I've never had to use any script to position the answer dialog in the
middle of the screen since it (should) just work that way.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 7/26/13 9:43 PM, "Cal Horner" <calhorner at xtra.co.nz> 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.
>_______________________________________________
>use-livecode mailing list
>use-livecode at lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your
>subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-livecode
>






More information about the use-livecode mailing list