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

Re: drawer toggle


  • Subject: Re: drawer toggle
  • From: Bill Cheeseman <email@hidden>
  • Date: Sat, 04 Jan 2003 15:43:47 -0500

on 03-01-04 10:37 AM, John Q. at email@hidden wrote:

> If I had a button on a drawer, when I press this button I would toggle
> to another drawer!!
> If I make a connection from the button to the new drawer on toggle, the
> new drawer opens behind the first drawer!!

Write a custom action method for the button, and connect it in IB. The
custom action method should first close other drawers, then toggle your
drawer. You don't have to test whether other drawers are open, because the
close method does nothing to drawers that are already closed.

--

Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com

The AppleScript Sourcebook - http://www.AppleScriptSourcebook.com
Vermont Recipes - http://www.stepwise.com/Articles/VermontRecipes
Croquet Club of Vermont - http://members.valley.net/croquetvermont
_______________________________________________
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.

References: 
 >drawer toggle (From: "John Q." <email@hidden>)

  • Prev by Date: Re: Localization w/ parameters
  • Next by Date: How "Delete"_icon_as_a_menu_item_shortcut?
  • Previous by thread: Re: drawer toggle
  • Next by thread: Re: drawer toggle
  • Index(es):
    • Date
    • Thread