Re: Newbie Interface question
Re: Newbie Interface question
- Subject: Re: Newbie Interface question
- From: Ian Crew <email@hidden>
- Date: Mon, 4 Mar 2002 20:30:13 -0800
Thanks all for the responses....I will definitely look up
NSMatrix--it is much appreciated.
(And, Andy, I agree about disabling stuff instead of removing it-what
I'll be doing here is displaying a list of choices as specified in a
configuration file on the CD I'm building, but thanks for the
reminder....)
Ian
At 10:22 PM -0500 3/4/02, Andy Lee wrote:
Also consider whether you really want to be removing checkboxes as
opposed to disabling them. I don't have enough context to offer an
opinion in this case. Often it is better to show all possible
options to the user, even the options he doesn't have at that
particular time. But there are cases where a dynamically assembled
UI is appropriate. If this is such a case, then Eric is right, an
NSMatrix is the way to go.
--Andy
At 9:02 PM -0600 3/4/02, Erik M. Buck wrote:
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
_______________________________________________
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.
--
_____________________________________________________________________________
| "Dance to it, Sing to it, Love, Cry, Remember | Ian Crew |
| when, Imagine if, Wonder Why" -Anonymous | 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.