Re: Turn off sheet transparency
Re: Turn off sheet transparency
- Subject: Re: Turn off sheet transparency
- From: Jeremy Dronfield <email@hidden>
- Date: Wed, 4 Sep 2002 12:10:26 +0100
On Wednesday, September 4, 2002, at 02:55 am, Isaac Sherman wrote:
on 9/3/02 3:24 PM, the method -(id)email@hidden:(id)
sender:@"Donald
Brown"; returned:
Is there any way to temporarily turn off the transparency in sheets?
I'm
working on the manual, will need to do some screen shots, and my
printer
says that this translucency will look very bad.
I think setAlpha: might work, if you're using [NSApp beginSheet:...].
If
they're generic sheets (or setAlpha doesn't work)
-setAlphaValue: won't work. If you give it a value of 1.0 (the maximum)
you just get the default transparency level. This method only works if
you want to make the sheet (and its controls, since -setAlphaValue:
affects a window's entire contents) MORE transparent. You can give it an
alpha value greater than 1.0 (1.1, say) which will make your sheet
background opaque, but will also make the controls inside it (which
start out opaque) look horrible. You get a sort of moire effect -
interesting but not helpful. -setOpaque: doesn't do anything either, by
the way.
Use a different printer.
-Jeremy
========================================
email@hidden // email@hidden
The Alchemy Pages:
- fractious fiction at
http://freespace.virgin.net/jeremy.dronfield
========================================
_______________________________________________
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.