Hello, I'm making an application for someone, and I need to make this NSTextView in an NSScrollView uneditable. Whatever I do, I just can't get anything to work. There is no editable or allow editing check box in Interface Builder for it, so I'll to do it programmatically. So far, I have tried the follow codes.
[TextView setEditable:NO];
[TextView setEditable:FALSE];
[TextView.editable = NO];
[TextView.editable = FALSE];
[TextView editingNotAllowed];
and I just can't get anything to work. If somebody could please help, that would be well appreciated! Also, I'm doing this under:
- (void)applicationDidFinishLaunching:(NSNotification *)aNotification {
}
Thanks for any help at all!