Moving system Dialog boxes

Edwin Gore edgore at
Tue Apr 15 19:12:00 EDT 2003

That seems to have worked. though I also tweaked the script so that it
either centers on the open document, or appears centered a ways below the
menu bar if there is no open document.

An interesting side effect taht I have not been able to track down yet has
come up though...when I open one particular dialog I built (go stack
"importer" as modal) in the runtime environment, I get the RunRev dialog
telling me that my registration code has been accepted!!! Once it's a
standalone though, everything works fine. Weird..

----- Original Message -----
From: "Richard Gaskin" <ambassador at>
To: <use-revolution at>
Sent: Sunday, April 13, 2003 3:14 PM
Subject: Re: Moving system Dialog boxes

> Edwin Gore wrote:
> > I have an application that uses a toolbar and a document window. The
> > that I am running into is that there are one or two circumstances where
> > need to present an "answer" dialog to the user before a document has
> > On windows this centers the dialog on the toolbar/menubar, which is
> > going to be near the top of the screen. Is there any easy way to change
> > position the dialog appears at? I have a feeling that there isn't an I
> > going to need to cludge something together...if I open an invisible
> > it be active and be used to move the dialog?
> I found that really annoying as well, and aded this to a front script:
> on  preopenstack
>   if the short name of this stack is in "answer dialog,ask dialog" then
>     set the loc of this stack to the screenloc
>   end if
>   pass preopenstack
> end preopenstack
> --
>  Richard Gaskin
>  Fourth World Media Corporation
>  Developer of WebMerge 2.2: Publish any database on any site
>  ___________________________________________________________
>  Ambassador at
>  Tel: 323-225-3717                       AIM: FourthWorldInc
> _______________________________________________
> use-revolution mailing list
> use-revolution at

More information about the Use-livecode mailing list