Code: Select all
// user clicks the quit button
on mouseUp
answer "Really quit" with "No" or Yes" as sheet
// clicking "Yes" causes the app to quit
// if "yes"
// then quit
end mouseUp
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Code: Select all
// user clicks the quit button
on mouseUp
answer "Really quit" with "No" or Yes" as sheet
// clicking "Yes" causes the app to quit
// if "yes"
// then quit
end mouseUp
Code: Select all
// user clicks the quit button
on mouseUp
answer "Really quit" with "No" or "Yes" as sheet
// clicking "Yes" causes the app to quit
if it is "yes" then quit
end mouseUp
Thank you so much!bn wrote:Hi Davey,
what the user chose in an answer dialog is in "it"
Kind regardsCode: Select all
// user clicks the quit button on mouseUp answer "Really quit" with "No" or "Yes" as sheet // clicking "Yes" causes the app to quit if it is "yes" then quit end mouseUp
Bernd