• 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 adding small checkboxes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Programatically adding small checkboxes


  • Subject: Programatically adding small checkboxes
  • From: Ken Tozier <email@hidden>
  • Date: Mon, 2 May 2005 22:21:39 -0400

I'm trying to add small checkboxes to a view programatically and ran into a problem. NSButtons can be added to views using NSView's "addSubview" command but NSButtonCells can't be added this way. NSButtons apparently have no complement to NSButtonCell's "setControlSize" method. So the question is, is there a way to either forceĀ NSButtons to use the small size or alternately, to add NSButtonCells to NSViews?

Thanks

Ken
 _______________________________________________
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

  • Follow-Ups:
    • Re: Programatically adding small checkboxes
      • From: Todd Yandell <email@hidden>
  • Prev by Date: keep windows in right place while editing dashboard
  • Next by Date: Detecting the Option key on selecting a menuitem
  • Previous by thread: keep windows in right place while editing dashboard
  • Next by thread: Re: Programatically adding small checkboxes
  • Index(es):
    • Date
    • Thread