Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > NSTableView not calling setObject value

NSTableView not calling setObject value
Thread Tools
Professional Poster
Join Date: Sep 1999
Location: Ottawa, ON, Canada
Status: Offline
Reply With Quote
Dec 12, 2003, 05:44 PM
 
Hi all,

I have an NSTable on a sheet. When I edit a cell in the table and tab to the next one, setObjectValue gets called, as it should and works fine.

The problem is when I click OK, the sheet close, but setObjectValue does not get called. If I open the sheet back up again, then setObjectValue gets called for the cell I was in the previous time the sheet was open.

Is there a way to get it to call setObjectValue as the sheet closes?
     
Junior Member
Join Date: Jan 2003
Status: Offline
Reply With Quote
Dec 13, 2003, 11:11 AM
 
In your close sheet handler, can you not call [myTableView setObjectValue: forTableColumn: row:] ?
swont
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 02:33 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2