• 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
controlTextDid... and the cursor: 2 questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: NSXMLDocument question
  • Next by Date: How can I use CGrafPtr value?
  • Previous by thread: Re: NSTableView and background color
  • Next by thread: Re: controlTextDid... and the cursor: 2 questions
  • Index(es):
    • Date
    • Thread