Re: Cursor above siblings
Re: Cursor above siblings
- Subject: Re: Cursor above siblings
- From: email@hidden
- Date: Sun, 11 Jan 2015 16:25:06 +0900
> On 2015/01/11, at 5:25, Quincey Morris <email@hidden> wrote:
>
> BTW, if the text field is changing the cursor on mouseMoved: events, which is possible, then your attempts to control the cursor with cursorUpdate: seem doomed to failure.
Not doomed to failure, but likely requiring a subclass of NSTextField or a custom cell class that does conditional override of the default behavior. Likely with a shared delegate or controller with your button to help coordinate.
But if AppKit does this with internal state based on private API that is not affected by subclassing, then you are in for more pain. .
Have you tried simply setting setEditable: and setSelectable: to NO?
If you track cursor entry into and out of another view or control, you could probably toggle these as appropriate.
_______________________________________________
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