• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: problem with sheet contextInfo
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: problem with sheet contextInfo
      • From: Jim Balhoff <email@hidden>
References: 
 >problem with sheet contextInfo (From: Jim Balhoff <email@hidden>)

  • Prev by Date: ANN: GNUMail.app 1.0.0pre3 / Pantomime 1.0.1
  • Next by Date: Re: dd: IP address via Terminal
  • Previous by thread: problem with sheet contextInfo
  • Next by thread: Re: problem with sheet contextInfo
  • Index(es):
    • Date
    • Thread