Re: Disabling an NSTableView
Re: Disabling an NSTableView
- Subject: Re: Disabling an NSTableView
- From: Ryan Bates <email@hidden>
- Date: Tue, 17 Feb 2004 17:03:40 -0800
I should have suggested this to begin with: have you tried setting
[tableView setEnabled:NO]?
You could also call [tableView setRefusesFirstResponder:YES] to disable
key down events. One other thing, if you override the mouseDown method,
you should probably override the other mouse methods as well.
Ryan
On Feb 17, 2004, at 2:17 PM, Moray Taylor wrote:
Hi,
I've got two scroll-synchronized NSTableViews (many thanks to Ryan
Bates for his assistance in doing this). Since one of the NSTableViews
is just for cosmetic purposes, I want to make it 'disabled', i.e. so
the user can't click, drag, or anything else. I can turnoff a lot of
functionality in IB, but I want to turn off everything, like Row
selection etc.., is there anyway to do this?
Thanks v much
Moray
_______________________________________________
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.
_______________________________________________
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.