> > Is there a simple way to create a dialog similar to the answer dialog
but
> > that disappears after a few seconds?
>
> Edit the dialog so that the openStack handler sends a message
> after a few seconds that closes the dialog. You could even use the
> existing answer dialog - set a global variable before running the answer
> command to tell the dialog whether or not it should run this message
handler or
> run "normal".
>
> Regards,
>
> Kevin
>
Kevin,
Thanks for the suggestion. While exploring your suggestion I came up with
the following solution to a timeout for any standard Answer or Ask dialog.
I created the following handlers in my mainStack
on closeAnswer
close window "Answer Dialog"
end closeAnswer
on closeAsk
close window "Ask Dialog"
end closeAsk
Then whenever I want a dialog with a timeout I use the following code:
send closeAnswer to me in 5 seconds
answer "Hi there"
The dialog comes up and then in about 5 seconds it disappears. I don't know
if there are any side effects of this but it seems to work.
Larry Huisingh
Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.