Re: [Q] Disabling an NSTableView
Re: [Q] Disabling an NSTableView
- Subject: Re: [Q] Disabling an NSTableView
- From: Alex Rice <email@hidden>
- Date: Tue, 12 Nov 2002 00:22:44 -0700
On Monday, July 15, 2002, at 01:27 PM, Mark de Jong wrote:
When I send "setEnabled:NO" to my table, the table's visual appearance
does not change and I can still select and edit all the items in the
table. I would expect its appearance and behavior to change, similar
to other controls.
Hi, I have the same issue. What is the workaround? Dan Wood's
suggestion to call setEditable: on the NSCells in the table doesn't
help my in situation because my NSTableView is not editable, I need to
disable selection in the NSTableView. (It's an "inspector" panel and
all the controls get disabled if the user hasn't selected an item in
the main window.)
[iconsTable deselectAll: nil];
[iconsTable setEnabled: NO];
Doesn't disable selections. I am stumped on this one. Any ideas?
Alex Rice <email@hidden>
Mindlube Software
http://mindlube.com/
_______________________________________________
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.