• 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: Triangle Collapse
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Triangle Collapse


  • Subject: Re: Triangle Collapse
  • From: Scott Anguish <email@hidden>
  • Date: Tue, 12 Aug 2003 17:54:42 -0400

On Tuesday, August 12, 2003, at 6:19 AM, M. Uli Kusterer wrote:

See the Finder's "Get Info" window for an example. The different sections are separated by a line with a triangle that you can click on to hide or expand this section.

No, there's no standard control that takes care of this, and I'm not aware of any sample code. It'd be easy to do this in Carbon, as Carbon has a "disclosure triangle" control and a "window header" control which could be used with a static text field to generate the header...


I'm not sure how much easier this could be. An NSButton with a toggle on/off state with the two different images (pointing left, pointing down).

when it is clicked on, grow the window and insert the views.

There was an example of this at WWDC in the tips. Also, Kurt Revis <email@hidden>
released a DisclosableView framework - http://www.snoize.com/Code/DisclosableView.tar.gz

the MOKit (www.lorax.com) has one as well.
_______________________________________________
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: Triangle Collapse
      • From: "M. Uli Kusterer" <email@hidden>
    • Re: Triangle Collapse
      • From: Dave Thorup <email@hidden>
References: 
 >Triangle Collapse (From: email@hidden)
 >Re: Triangle Collapse (From: "M. Uli Kusterer" <email@hidden>)

  • Prev by Date: Re: Query an NSFont: Serif or Sans Serif, is it extended or condensed, etc.
  • Next by Date: Re: Examples of creating custom controls
  • Previous by thread: Re: Triangle Collapse
  • Next by thread: Re: Triangle Collapse
  • Index(es):
    • Date
    • Thread