Stop editing a table cell
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.