• 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
Programatically creating a checkbox
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Programatically creating a checkbox


  • Subject: Programatically creating a checkbox
  • From: John Stiles <email@hidden>
  • Date: Sun, 18 Nov 2007 19:34:50 -0800

How does one do it? The NSButton docs list many different types of bezel, but none seem to correspond to a checkbox type. I can easily create one in IB, but that doesn't give me enough info to recreate it programatically. (I even tried examining it with F-Script Anywhere, but that didn't reveal anything obvious either.)

I know that one viable solution would be to create a checkbox in a nib and then just copy it as necessary, but that seems like overkill just to make one dinky little checkbox :)

_______________________________________________

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


  • Follow-Ups:
    • Re: Programatically creating a checkbox
      • From: Jonathan Hess <email@hidden>
    • Re: Programatically creating a checkbox
      • From: mmalc crawford <email@hidden>
    • Re: Programatically creating a checkbox
      • From: "Adam R. Maxwell" <email@hidden>
  • Prev by Date: Re: Design Advice Sought for Interesting NSTableView
  • Next by Date: Re: Programatically creating a checkbox
  • Previous by thread: Re: Design Advice Sought for Interesting NSTableView
  • Next by thread: Re: Programatically creating a checkbox
  • Index(es):
    • Date
    • Thread