Re: Checkbox state inside a function
Re: Checkbox state inside a function
- Subject: Re: Checkbox state inside a function
- From: "Kyle Sluder" <email@hidden>
- Date: Mon, 4 Feb 2008 23:07:44 -0500
On Feb 4, 2008 7:18 PM, "António P.F.Almeida" <email@hidden> wrote:
> The reality is that you don't know how to answer to my very basic question
> !
> I think the solution is unsubscribe this mailing list ...
You have provided a grand total of six lines of code, and have not
confirmed that a) CheckBox is the object you think it is, or is even
anything other than nil; b) that -calc: is being called, and is
actually calling -calc; or c) that -calc is only being called when you
want it to.
Please go ahead and take IS's advice and debug properly (or at least
show evidence that you have!) before becoming rather indignant.
Breakpoints are your friend; break on the if statement in -calc and
inspect the value of CheckBox. Also look at the call tree and see
who's calling whom.
--Kyle Sluder
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden