The "Answer with dialog"

Jan Schenkel janschenkel at yahoo.com
Sun Feb 29 17:34:24 EST 2004


--- hershrev <hershbp at realtorsgroup.us> wrote:
> Ok got that , now to trap the yes or whatever , I
> tried
> if it is "a" , didn't work out.
> also tried put it into it and then if it is "a" also
> not
> thanks hershrev.
> 

Hi Hershrev

After the user clicks a button, the name of that
button is placed into the variable it. Example:
--
on mouseUp
  answer "What shall I do?" with \
       "Ask the list" or "Read the manual"
  if it is "Ask the list"
  then answer warning "Please read the manual first"
end mouseUp
--

Hope this helped,

Jan Schenkel.

=====
"As we grow older, we grow both wiser and more foolish at the same time."  (La Rochefoucauld)

__________________________________
Do you Yahoo!?
Get better spam protection with Yahoo! Mail.
http://antispam.yahoo.com/tools


More information about the use-livecode mailing list