Re: drawer toggle
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.