controlTextDid... and the cursor: 2 questions
controlTextDid... and the cursor: 2 questions
- Subject: controlTextDid... and the cursor: 2 questions
- From: Steve Cronin <email@hidden>
- Date: Sat, 4 Mar 2006 22:31:17 -0600
Folks;
I've got many text fields on a window; some are editable cells in a
tableView.
I am using 'controlTextDidEndEditting' to manage some internal state
changes.
I discern the tableView edits with:[[myNotification object] class] ==
[NSTableView class]
Question 1:
What information in the notification would I use to discern one of
the cells from the other?
Question 2:
What I am seeing is that if the user has entered any of the editable
fields and made changes BUT has not tabbed out of the field and then
uses a mouse to perform a tabView change or window close, the pending
change is not picked up.
What is the RIGHT solution to pick up any changes that might have
occurred in this case.
I'm hopeful that there must be an easier solution than wiring up
every field and doing 'controlTextDidChange'?
That seems very code intensive, processor intensive, and potentially
quite a mess.
Thanks for any thoughts!
Steve
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden