FROM : Chris Ridd
DATE : Sat Nov 23 20:47:06 2002
On 23/11/02 7:35 pm, Dustin Voss <<email_removed>> wrote:
> On Thursday, November 21, 2002, at 05:20 AM, Chris Ridd wrote:
>
>>> On 11/21/2002 2:42 AM, "Steve" <<email_removed>> 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.)
>
> There's a Carbon control which is a group box similar to NSBox, except
> that the title has a checkbox beside it, so you can activate or
> deactivate the box as a whole. Very useful. I think that's what Steve
> is talking about.
It was. (Steve confirmed this off-list.)
I just checked in the HIG and Apple discourages having group boxes that are
also buttons - see pages 149 to 152.
> Carbon also offers a group box with an NSPopUpButton in place of the
> title, which can be used like a compact NSTabView that can handle 7-11
> items, instead of a tab view's 5.
>
> I am also these aren't pre-defined widgets. I hope Apple adds them.
I bet Apple won't, in the light of that bit of the HIG :-(
Cheers,
Chris
_______________________________________________
cocoa-dev mailing list | <email_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
DATE : Sat Nov 23 20:47:06 2002
On 23/11/02 7:35 pm, Dustin Voss <<email_removed>> wrote:
> On Thursday, November 21, 2002, at 05:20 AM, Chris Ridd wrote:
>
>>> On 11/21/2002 2:42 AM, "Steve" <<email_removed>> 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.)
>
> There's a Carbon control which is a group box similar to NSBox, except
> that the title has a checkbox beside it, so you can activate or
> deactivate the box as a whole. Very useful. I think that's what Steve
> is talking about.
It was. (Steve confirmed this off-list.)
I just checked in the HIG and Apple discourages having group boxes that are
also buttons - see pages 149 to 152.
> Carbon also offers a group box with an NSPopUpButton in place of the
> title, which can be used like a compact NSTabView that can handle 7-11
> items, instead of a tab view's 5.
>
> I am also these aren't pre-defined widgets. I hope Apple adds them.
I bet Apple won't, in the light of that bit of the HIG :-(
Cheers,
Chris
_______________________________________________
cocoa-dev mailing list | <email_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
| Related mails | Author | Date |
|---|---|---|
| Steve | Nov 21, 09:42 | |
| Sam Griffith | Nov 21, 12:08 | |
| Chris Ridd | Nov 21, 14:20 | |
| Dustin Voss | Nov 23, 20:35 | |
| Chris Ridd | Nov 23, 20:47 | |
| Clark S. Cox III | Nov 23, 21:03 | |
| Chris Ridd | Nov 23, 21:11 | |
| Clark S. Cox III | Nov 23, 21:36 |






Cocoa mail archive

