Scott Rossi wrote:
Recently, Scott Rossi  wrote:


Aside from modifying its code, is there a trick to forcing the answer dialog
to appear at the screenLoc?

Here's a workaround that seems to work in both MC and Rev:

go inv stack "answer dialog"
answer "This dialog is now centered."
set loc of stack "answer dialog" to the screenLoc
show stack "answer dialog"


Whoops - maybe I spoke too soon.  No way to get the response values (yes, no
cancel, etc).  But if one is only displaying data, such as an alert, this
might be acceptable.

In the very rare cases where I want the dialog screen-centered throughout the program, I've found this works well in a frontScript:

on preOpenStack
  if the short name of this stack is "Answer Dialog" then
    set the loc of this stack to the screenLoc
  end if
  pass preOpenStack
end preOpenStack


--
 Richard Gaskin
 Fourth World Media Corporation
 ___________________________________________________________
 [EMAIL PROTECTED]       http://www.FourthWorld.com
_______________________________________________
metacard mailing list
[email protected]
http://lists.runrev.com/mailman/listinfo/metacard

Reply via email to