Re: addCursorRect:cursor
Re: addCursorRect:cursor
- Subject: Re: addCursorRect:cursor
- From: j o a r <email@hidden>
- Date: Fri, 8 Sep 2006 18:15:58 +0200
On 8 sep 2006, at 18.07, Trygve Inda wrote:
I have an NSButton that I want to have force the cursor to change
as it
passes over it. Do I need to subclass it and include
addCursorRect:cursor?
Surely there is an easier way since then I would have to
programmatically
define my button whereas now I use IB to set all its attributes.
You can use IB also for subclasses of standard controls.
Just have IB parse the header file of your subclass, and use the
inspector to set the class of the control to be that of your subclass.
j o a r
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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