Re: simulating a sheet?
Re: simulating a sheet?
- Subject: Re: simulating a sheet?
- From: "John C. Randolph" <email@hidden>
- Date: Wed, 23 Apr 2003 17:46:36 -0700
On Wednesday, April 23, 2003, at 04:47 PM, Dave Yost wrote:
For weird reasons, not to violate guidelines, I am trying to simulate
a sheet. First I tried positioning a borderless window just right,
setting its height to, then setting its height to full size. Works
almost OK, except that the 'sheet' window is resizing as its title bar
exists and is transparent. In other words, it grows down from the top
of the parent window's title bar (look OK when it's done resizing,
tho).
Then I tried making a window whose opacity is 0, then moving an NSView
down into it. The window is opaque anyway, and I don't relish
animating the move by hand (isn't there code somewhere to allow moving
a view using Cocoa's ease-in/ease-out motion code?).
Anyone done this?
I don't get why you're simulating a sheet, instead of just using a
sheet.
-jcr
John C. Randolph <email@hidden> (408) 974-8819
Sr. Cocoa Software Engineer,
Apple Worldwide Developer Relations
http://developer.apple.com/cocoa/index.html
_______________________________________________
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.