Re: problem with sheet contextInfo
Re: problem with sheet contextInfo
- Subject: Re: problem with sheet contextInfo
- From: Bill Cheeseman <email@hidden>
- Date: Tue, 26 Feb 2002 11:16:17 -0500
on 02-02-26 8:55 AM, Jim Balhoff at email@hidden wrote:
>
The problem is, if I finished the editing of
>
cell 1 (which sends the action) by clicking into cell 2, it is cell 2
>
that is cleared. I would have expected cell 1, which I passed as the
>
contextInfo, to be cleared.
Looking quickly at your code, I suspect the problem occurs because you do no
checking when the user dismisses the sheet to make sure sender is the
control you think it is. Shouldn't your endMySheet: action method test
whether sender is the same object as the cell in the form that originally
invoked cellCompletedEdit:?
--
Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com
The AppleScript Sourcebook -
http://www.AppleScriptSourcebook.com
Vermont Recipes -
http://www.stepwise.com/Articles/VermontRecipes
Croquet Club of Vermont -
http://members.valley.net/croquetvermont
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.