• 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: Disclosure triangle ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Disclosure triangle ?


  • Subject: Re: Disclosure triangle ?
  • From: Stéphane Sudre <email@hidden>
  • Date: Wed, 27 Jun 2001 17:34:15 +0200

On mercredi, juin 27, 2001, at 05:28 PM, Kyle Mandli wrote:

One way that did something that kind of does what you need is to create a square button with IB and turn off the bordered attribute in the info window and change the size to fit the triangle but you may need to do this manually by typing in the size in the size dialog. This will give you the functionality of a button but you can then put an image in that you want to use at your discretion. It will handle everything you need. The only thing you need to do for a disclosure triangle is to find an image with it sideways and down (possibly from the system?) and switch the image when it is pressed through actions in you controller where you can control the actions of the button easily. Using this method makes it so you have to write little to no code to get the functionality you are looking for. Good luck!

I've already tried this solution.

The behavior you get with it is not the one of the disclosure triangle. The down arrow appears when you push the right arrow. The expected behavior is: when you push an arrow, it gets dark and when you release the click, the alternate arrow appears.


References: 
 >Re: Disclosure triangle ? (From: Kyle Mandli <email@hidden>)

  • Prev by Date: Re: Disclosure triangle ?
  • Next by Date: Re: NSToolbar and Interface Builder
  • Previous by thread: Re: Disclosure triangle ?
  • Next by thread: Re: Disclosure triangle ?
  • Index(es):
    • Date
    • Thread