• 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: Cocoa equivalent of subclassing a REALbasic Canvas?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Cocoa equivalent of subclassing a REALbasic Canvas? (From: William Squires <email@hidden>)

  • Prev by Date: Newbie binding/predicate issue
  • Next by Date: Re: Cocoa equivalent of subclassing a REALbasic Canvas?
  • Previous by thread: Re: Cocoa equivalent of subclassing a REALbasic Canvas?
  • Next by thread: Re: Cocoa equivalent of subclassing a REALbasic Canvas?
  • Index(es):
    • Date
    • Thread