How do I mimic dialog boxes?
Martin Baxter
mb.userev at harbourhosting.co.uk
Sun May 20 13:16:44 EDT 2007
LunchnMeets at aol.com wrote:
> Hi Everyone,
>
> Since “Ask” and “Answer” dialog boxes come up too slow how can I mimic
> those boxes without using those commands? I’m using Mac OSX if it matters.
>
> Joe in Orlando Florida
>
These are both ordinary stacks that are opened as modal. There's no big
secret to it other than that. You have to arrange to pass any needed
parameters before you open it, and to receive back the user's input.
The built in ones are convenient but, IMO it is worth taking the time to
roll your own, it gives you more control.
see the docs for modal and dialogdata
Of course if your problem is related in some way to the modal command
itself, that won't help, but perhaps it is caused by something specific
to rev's own ask and answer dialogs. In that case making your own could
solve it.
Martin Baxter
More information about the use-livecode
mailing list