FROM : Alex Rice
DATE : Tue Nov 12 08:22:44 2002
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_removed>>
Mindlube Software
http://mindlube.com/
_______________________________________________
cocoa-dev mailing list | <email_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
DATE : Tue Nov 12 08:22:44 2002
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_removed>>
Mindlube Software
http://mindlube.com/
_______________________________________________
cocoa-dev mailing list | <email_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
| Related mails | Author | Date |
|---|---|---|
| Mark de Jong | Jul 15, 21:27 | |
| Dan Wood | Jul 16, 02:32 | |
| Alex Rice | Nov 12, 08:22 | |
| Sam Griffith | Nov 12, 09:58 |






Cocoa mail archive

