Delete card Answer box

Thomas McGrath III 3mcgrath at adelphia.net
Tue Mar 22 08:19:54 EST 2005


WORKS;;;

on mouseUp
   answer "Do you really want to delete this card?" with "Yes" or "No" 
-- No is default
   put it into ldelete
   send doDelete (ldelete) to me in 30
end mouseUp

function doDelete ldelete
   if ldelete is "Yes" then delete this card
  end doDelete


On Mar 21, 2005, at 10:46 PM, Thomas McGrath III wrote:

> on mouseUp
> answer "Do you really want to delete this card?" with "No" or "Yes"
> put it into ldelete
> send doDelete(ldelete) to me in 30 miliseconds
> end mouseUp
>
> on doDelete ldelete
> if ldelete is "Yes" then delete this card
> put empty into ldelete -- may not be necessary
> end doDelete

Thomas J. McGrath III
SCS
1000 Killarney Dr.
Pittsburgh, PA 15234
412-885-8541


More information about the use-livecode mailing list