Possible display/answer dialog bug

Bob Sneidar bobsneidar at iotecdigital.com
Fri May 20 12:46:24 EDT 2016


Thanks Klaus! Worked a peach. So the upshot here is that "as sheet" will only work if the defaultStack is visible, otherwise it will act like a non-sheet style menu.

Bob S



try setting „the defaultstack“ to your „target“ stack, worked here in a quick test
with one button in a stack „untitled 1“:
on mouseup
put „For :-)“ into pMsg
set the defaultstack to "t1"
answer warning pMsg as sheet
end mouseup

And the sheet appeared in the (not in front) stack „t1“!

Bob S

Best

Klaus



More information about the use-livecode mailing list