RE: Forcing a cell's field editor to send control:textShouldEndEditing: when leaving a cell

2009-08-11 Thread Chris Arnaiz
From: Alastair Houghton [mailto:alast...@alastairs-place.net] Sent: Tuesday, August 11, 2009 2:33 PM To: Chris Arnaiz Cc: cocoa-dev@lists.apple.com Subject: Re: Forcing a cell's field editor to send control:textShouldEndEditing: when leaving a cell On 11 Aug 2009, at 19:53, Chris Arnaiz wrote: >

Re: Forcing a cell's field editor to send control:textShouldEndEditing: when leaving a cell

2009-08-11 Thread Alastair Houghton
On 11 Aug 2009, at 19:53, Chris Arnaiz wrote: I've been struggling to control the behavior of a NSTableView while editing cells. [snip] My goal is to prevent the user from leaving a cell (mouse click, tab key, enter key, etc) before they provide a valid value for that entry. Hi Chris, Rat

Forcing a cell's field editor to send control:textShouldEndEditing: when leaving a cell

2009-08-11 Thread Chris Arnaiz
Hi, I've been struggling to control the behavior of a NSTableView while editing cells. The table is a simple ID number / description list. Editing an existing entry is okay, but my problem is dealing with new entries. My goal is to prevent the user from leaving a cell (mouse click, tab ke