Re: Transparent view click-through -- SOLVED
Re: Transparent view click-through -- SOLVED
- Subject: Re: Transparent view click-through -- SOLVED
- From: Ron Fleckner <email@hidden>
- Date: Sun, 13 Apr 2008 08:00:56 +1000
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