Re: Cocoa equivalent of subclassing a REALbasic Canvas?
Re: Cocoa equivalent of subclassing a REALbasic Canvas?
- Subject: Re: Cocoa equivalent of subclassing a REALbasic Canvas?
- From: Steve Weller <email@hidden>
- Date: Thu, 5 Apr 2007 18:36:45 -0700
On Apr 5, 2007, at 6:19 PM, William Squires wrote:
Hi all,
What's the best way to make a self-contained custom control in
Cocoa? I have a nifty Canvas subclass in REALbasic that I use to
replace the BevelButton.
snipped
P.S. I'm NOT looking for a 'how to' on how to use an NSBevelButton
or some such (I don't even know if there IS an NSBevelButton
anyway...), just an overview on how to start converting useful
REALbasic classes to Cocoa.
I'm not sure why not. I think I can do everything you want to do
simply by dropping an image onto the button in IB. What is so special
about your button in REAL that Cocoa/IB cannot do it for you?
I did have to subclass NSButton recently to get a custom cursor, but
only had to add one line of code.
--
Bagelturf Blog http://homepage.mac.com/bagelturf/
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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