• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Setting the arrow cursor for an NSTextView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: Need iCal Parser
  • Next by Date: Custom binding not being updated
  • Previous by thread: Setting the arrow cursor for an NSTextView
  • Next by thread: Any examples of how to implement an inspector window?
  • Index(es):
    • Date
    • Thread