• 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: NSMatrix With NSTextFieldCell
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSMatrix With NSTextFieldCell


  • Subject: Re: NSMatrix With NSTextFieldCell
  • From: John Bishop <email@hidden>
  • Date: Thu, 13 Oct 2005 15:35:56 -0500

Mijobee <email@hidden> said:

>I'm trying to create a list of strings that work like a matrix of
>radio buttons, just like the Group by: list in the Spotlight Window.
>Only one item can be selected at a time and the selected item is
>displayed with different color text than the rest of the strings in
>the list.  I would like to be able to set it up in IB because most of
>the list items have static text, although some items will be added
>dynamically.  I'm thinking there's a simple way to set the NSMatrix's
>prototype cell to be an NSTextFieldCell but haven't been able to find
>a way.  Thanks in advance!

Drag a NSTextField into your view, make it look as you wish, then option-drag
a handle to make a matrix of NSTextField cells.  You can refine their sizes,
etc. with the info panel.
--
Golfer: "You've got to be the worst caddy in the world."
Caddy: "I don't think so sir.  That would be too much of a coincidence."
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: SyncServices.framework
  • Next by Date: NSTextView Text Dragging Position
  • Previous by thread: NSMatrix With NSTextFieldCell
  • Next by thread: How do I implement isPointObscured?
  • Index(es):
    • Date
    • Thread