Re: Custom NSTextView and scrolling problem
Re: Custom NSTextView and scrolling problem
- Subject: Re: Custom NSTextView and scrolling problem
- From: Ricky Sharp <email@hidden>
- Date: Mon, 15 Nov 2004 16:10:21 -0600
On Nov 15, 2004, at 3:42 PM, Robbie Haertel wrote:
I know this isn't even your question, but I bet you can get the shadow
to draw "on edit". Just be sure to use an instance of your custom
NSTextView as the field editor. See the documentatin on NSWindows'
fieldEditor:forObject:
I actually did this earlier, but it was riddled with drawing artifacts.
PS I feel for you, I always run into problems that no one seems to
know how to solve when it comes to subclassing classes in the text
system.
I'm definitely in the minority here. Most apps use the standard Cocoa
UI.
I'll keep poking around, but I think I'm going to punt and just use the
standard Cocoa UI. Something that I forgot about earlier is that my
kiosk runs full-screen and thus doesn't have a menu bar. This will be
problematic if users want to use the keyboard menu (e.g. to bring up
the Character Palette).
Since the only place that I need editable text fields are in dialogs, I
could re-show the menu bar, and bring up a standard Cocoa UI dialog.
This will also give users access to the Edit menu.
___________________________________________________________
Ricky A. Sharp mailto:email@hidden
Instant Interactive(tm) http://www.instantinteractive.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden