how to place a dialog window

Wilhelm Sanke sanke at hrz.uni-kassel.de
Fri Nov 10 18:16:56 EST 2006


Another detail:

If you use the "dirty script"

"on mouseup"
  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 backcolor of fld  1 to it
end mouseup"

then field 1 of the "answer dialog" is being colored!

If you have named field 1 of the stack that contains the calling button 
to "result"  -and you change the above script accordingly - then you 
will get an error message "no such object".

--Wilhelm Sanke

<http://www.sanke.org/MetaMedia>







More information about the use-livecode mailing list