Re: Setting the arrow cursor for an NSTextView
Re: Setting the arrow cursor for an NSTextView
- Subject: Re: Setting the arrow cursor for an NSTextView
- From: Pastey <email@hidden>
- Date: Tue, 20 Nov 2007 09:07:07 -0100
try to write
- (void) resetCursorRects
{
[ self addCursorRect: [ self bounds ] cursor: arrowCursor ];
}
i think it could work.
I have a subclass of NSTextView in my app and want to set the arrow
cursor instead of the defaults cursor for that TextView. I tried -
[NSScrollView setDocumentCursor:] on the enclosing scrollview but with
no effect. Is there an other way to get rid of the ibeam cursor in the
TextView?
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden