• 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: Coloring NSBox background?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Coloring NSBox background?


  • Subject: Re: Coloring NSBox background?
  • From: Chris Ridd <email@hidden>
  • Date: Thu, 21 Nov 2002 13:20:12 +0000

> On 11/21/2002 2:42 AM, "Steve" <email@hidden> wrote:
[...]
>> Also, is there a HI defined way to emulate a Carbon style Checkbox
>> Group Box?... I can bolt one together, but was surprised it isn't a
>> pre-defined widget.

I'm not overly familiar with what that Carbon control does for you, but you
can use an NSBox to give you a box with optional borders and title, drop a
checkbox NSButton to give you the first switch, and option-drag a border of
it to make multiple switches (inside an NSMatrix.)

Doing that automatically gives each switch an identifying tag which you can
switch on in your code. (I was going to say unique, but IB seems to have a
bug here - try adding columns to the matrix; the tags are now not unique.
Bug logged with Apple.)

Cheers,

Chris
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Checkbox group box (was Re: Coloring NSBox background?)
      • From: Dustin Voss <email@hidden>
References: 
 >Re: Coloring NSBox background? (From: Sam Griffith <email@hidden>)

  • Prev by Date: Re: Exclusive File Access
  • Next by Date: Re: No launchable executable present?
  • Previous by thread: Re: Coloring NSBox background?
  • Next by thread: Checkbox group box (was Re: Coloring NSBox background?)
  • Index(es):
    • Date
    • Thread