Re: Newbie Interface question
Re: Newbie Interface question
- Subject: Re: Newbie Interface question
- From: "Erik M. Buck" <email@hidden>
- Date: Mon, 4 Mar 2002 21:02:04 -0600
- Organization: EMB & Assocites Inc.
Use NSMatrix. I assume you are already using a matrix of check boxes and
not a bunch of separate check boxes.
A matrix can have cells added and removes and can be sized to fit its cells.
The enclosing scroll view will automatically handle changes to the size of
the matrix.
----- Original Message -----
From: "Ian Crew" <email@hidden>
To: <email@hidden>
Sent: Monday, March 04, 2002 7:29 PM
Subject: Newbie Interface question
>
Greetings all:
>
>
I'm just getting started on writing my first Cocoa app, and I've
>
already run into a roadblock:
>
>
I'm trying to construct a scrolling list of checkboxes (I'm building
>
a product that is in many ways very similar to an installer program),
>
and I've figured out how to make such a thing in interface builder
>
(creating a bunch of NSButton Switches, selecting them all, and
>
choosing "Make Subfiews of->scroll view" from the Layout menu). My
>
question is this: How do I add or remove checkboxes from this list
>
programatically? (In other words, the user won't always have the
>
same number of choices to choose from--how do I implement that?) Or
>
is there some more obvious/important thing I'm missing?
>
>
Thanks much!
>
>
Ian Crew
>
--
>
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>
Ian Crew
>
IS&T/Workstation Support Services
>
University of California at Berkeley
>
297 Evans Hall, (510) 642-7795
>
email@hidden
>
_______________________________________________
>
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.
_______________________________________________
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.