stopping Handlers

Klaus Major klaus at major-k.de
Thu Jan 12 15:46:31 EST 2006


Hi Liam,

> Hi all
> I have this script in a button which calls three handlers
> the if statement checks the fld for the card number was filled in
> if it was not I want to stop calling the fsave and the fTotalSeats  
> Handlers
> on mouseUp
>   if fld "paymenttype" = "credit card" then fcredit
>   fSave
>   TotalSeats
> end mouseUp

you mean "fcredit" check if the number was entered and you only
want to proceed if that is the case?

In that case i would make "fcredit" a function and check that.

on mouseUp
   if fld "paymenttype" = "credit card" then
     if fcredit() = true then
        fSave
        TotalSeats
    end if
   end if
end mouseUp

I hope i get you right...?

> Thank's
> Liam Lambert
> liamlambert at mac.com
> IRELAND

Regards

Klaus Major
klaus at major-k.de
http://www.major-k.de




More information about the use-livecode mailing list