Repeat-Dialog-Error
Repeat-Dialog-Error
- Subject: Repeat-Dialog-Error
- From: Brad Giesbrecht <email@hidden>
- Date: Wed, 28 Feb 2001 18:45:02 -0800
Hello,
<snip>
try
repeat while (not done)
set x to the button returned of --optionreturn
(display dialog "" buttons {"Cancel", "Look", "Continue"} as text
set done to true
if x is "Look" then
process_windows()
set done to false
end if
end repeat
on error
display dialog "Cancel failed."
end try
<snip>
Why when I click the cancel button, do I get the
"Cancel failed" dialog.
Thanks to the many who have responded to my questions.
Sincerely,
Bradley Giesbrecht