Delete card Answer box

SB aj445 at traverse.lib.mi.us
Mon Mar 21 22:06:46 EST 2005


Hi,
Since "Delete this card" works REALLY well, I wanted to add an answer 
box so the user would not do it accidentally.

But combining the commands does not work.

Here is the offending button script:
(warning-- do not actually run this script-- it freezes Rev!)

on mouseUp
   answer "Do really want to delete this card?" with "No" or "Yes"
   if it is "Yes" then send "delete this card" to this card in 10 
milliseconds
end mouseUp

What's a way to do this that works?

Thanks,

Sandy Beadle
www.troutfoot.com



More information about the use-livecode mailing list