• 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
Stop editing a table cell
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Stop editing a table cell


  • Subject: Stop editing a table cell
  • From: Darrin Cardani <email@hidden>
  • Date: Mon, 24 Nov 2003 11:29:04 -0600

I have a table that has editable text in it. There's a popup menu that allows the user to switch the data displayed in the table to another language. If they are in the middle of editing a cell, and change the value in the popup, I want to first accept the text they were editing, then switch to showing the data in the other language.

Looking through the docs, it appears that I need to get the table column that's being edited, get its dataCell, then send the dataCell the endEditing: message. The problem is I don't know what to pass as the textObj parameter.

Am I approaching this in the right way? If so, what is the appropriate thing to pass for the textObj parameter?

Thanks,
Darrin
--
Darrin Cardani - email@hidden
President, Buena Software, Inc.
<http://www.buena.com/>
Video, Image and Audio Processing Development
_______________________________________________
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: Stop editing a table cell
      • From: "Jonathan E. Jackel" <email@hidden>
  • Prev by Date: [ANN] SafariKeywords 0.5
  • Next by Date: Re: Database applications in OS X
  • Previous by thread: [ANN] SafariKeywords 0.5
  • Next by thread: RE: Stop editing a table cell
  • Index(es):
    • Date
    • Thread