The wonderful, bog standard Answer dialog

Richmond richmondmathewson at gmail.com
Fri Aug 2 05:14:33 EDT 2013


On 08/02/2013 10:17 AM, Cal Horner wrote:
> Simple question:
>
> If you can do this,
> "set the backgroundcolor of stack "Answer Dialog" to whatever."
>
> Why can't you do this?
>
> "set the location stack "Answer Dialog" to whatever."
> _______________________________________________
>

Dunno.

BUT . . . this works:

on mouseUp
    set the lockScreen to true
    toplevel stack "Answer Dialog"
    move stack "Answer Dialog" to 700,700
    wait 10 ticks
    answer "Surprise"
    set the lockScreen to true
end mouseUp

The only snag is that the Answer Dialog stack shows up, despite the 
lockScreen before it is
moved.

Richmond.




More information about the use-livecode mailing list