Re: NSTextField background
Re: NSTextField background
- Subject: Re: NSTextField background
- From: Philip Dow <email@hidden>
- Date: Mon, 30 Jan 2006 09:58:32 +0100
Have a look at subclassing NSTextFieldCell. Take a particularly close
look at its superclass NSCell and the methods drawWithFrame:inView:
and drawInteriorWithFrame:inView:
There are tons of examples of custom cell drawing out there, so have
a look at those if you get stuck.
-Phil
On Jan 30, 2006, at 3:18 AM, Aleaxander Cohen wrote:
How can i set up an NSTextField so i can draw into it's background
somewhat like safari does it in the address field?
thanks
Alex
_______________________________________________
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
_______________________________________________
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