Re: my drawer won't close
Re: my drawer won't close
- Subject: Re: my drawer won't close
- From: "James W. Walker" <email@hidden>
- Date: Sat, 20 Jun 2009 09:07:22 -0700
On Jun 19, 2009, at 12:19 PM, James Walker wrote:
I set up a drawer in IB, with an NSScrollView containing an
NSTextView as my content view. I open it programmatically, and it
looks fine. But when I try to close the drawer using the mouse, it
just beeps.
With a bit more thought, it's fairly clear what's going on. The
drawer is attached to a modal dialog, and the modal event loop treats
a click on the drawer like any other click outside the dialog, and
beeps. Is there any way to customize a modal event loop?
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden