Moving system Dialog boxes
Edwin Gore
edgore at shinra.com
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 fourthworld.com>
To: <use-revolution at lists.runrev.com>
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
problem
> > that I am running into is that there are one or two circumstances where
I
> > need to present an "answer" dialog to the user before a document has
opened.
> > On windows this centers the dialog on the toolbar/menubar, which is
ypically
> > going to be near the top of the screen. Is there any easy way to change
the
> > position the dialog appears at? I have a feeling that there isn't an I
am
> > going to need to cludge something together...if I open an invisible
window
> > 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 FourthWorld.com http://www.FourthWorld.com
> Tel: 323-225-3717 AIM: FourthWorldInc
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
More information about the use-livecode
mailing list