Re: Transparent view click-through -- NOT SOLVED
Re: Transparent view click-through -- NOT SOLVED
- Subject: Re: Transparent view click-through -- NOT SOLVED
- From: Greg Hoover <email@hidden>
- Date: Sat, 12 Apr 2008 21:55:22 -0700
Actually, no. It prevents the view from being transparent at all --
which I'll settle for at the moment. I'd really like it to be
transparent and receive clicks but I'm not sure how to do that and my
attempts thus far haven't worked.
On Apr 12, 2008, at 3:00 PM, Ron Fleckner wrote:
So, do you mean that overriding -isOpaque and returning YES allows
you to have a transparent view which still catches mouse clicks?
Ron
On 13/04/2008, at 3:10 AM, Greg Hoover wrote:
I hadn't implemented the isOpaque method on my custom views. This
did the trick, at least for my situation.
Thanks.
On Apr 12, 2008, at 1:19 AM, Ron Fleckner wrote:
On 12/04/2008, at 9:54 AM, Greg Hoover wrote:
Is there a way to prevent click through on a transparent view?
Greg
Not really the answer you're looking for, but a workaround is to
set the colour of the view to be white, then set the transparency
to 5%. Anything less than 5% allows click-through. This works on
my Tiger system.
Ron
_______________________________________________
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