OK Wilhelm.

How about this then,

on mouseUp
put the short name of the topStack into tStack
go inv stack "answer Dialog"
set the loc of stack "answer Dialog" to 200,200
show stack "Answer Dialog"
answer "Choose a color" with "red" or "green" or "blue"
set the defaultStack to tStack
set the backcolor of fld  1 to it
end mouseUp

That should solve your problem. Still quick and dirty. Oh, what if your
topStack is a palette, or even modal/non-modal??? Then don't use it, or hack
it further to accomodate.

I agree, the preferred way is to use one's own answer/ask dialogs, but
sometimes (as in when you are creating plugins for others to use inside
THEIR versions of Rev), you can't always count on your hacked versions being
'in play.'
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to