• 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: Newbie Interface question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Newbie Interface question
      • From: Andy Lee <email@hidden>
References: 
 >Newbie Interface question (From: Ian Crew <email@hidden>)

  • Prev by Date: Re: HTML link from TextView
  • Next by Date: Re: Newbie Interface question
  • Previous by thread: Newbie Interface question
  • Next by thread: Re: Newbie Interface question
  • Index(es):
    • Date
    • Thread