Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

slooksterPSV

macrumors 68040
Original poster
Apr 17, 2004
3,543
305
Nowheresville
How can I create a custom view that contains an NSTextView that responds to responders of keyDown:
Also how do I make the NSTextView with scrollbars if I'm creating it like this

noteTaker = [[NSTextView alloc] initWithFrame:frameRect];
[self addSubview: notetaker];

EDIT: Or could I do this as setting the textView to execute an action and check for the tab key being pressed using [sender event] or something like that, and if the tab is pressed insert the character?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.