Re: How to build a popup menu and show this menu?
Re: How to build a popup menu and show this menu?
- Subject: Re: How to build a popup menu and show this menu?
- From: "Alan Smith" <email@hidden>
- Date: Fri, 24 Feb 2006 17:20:36 -0600
After writing that last email, I thought about it quite a bit. There
is an error that I missed, unsurprisingly.
It was:
> theOrigin.origin.x = ([theButton frame].size.width / 2);
> theOrigin.origin.y = ([theButton frame].size.height / 2);
It should be:
theOrigin.origin.x = [theButton frame].origin.x + ([theButton
frame].size.width / 2);
theOrigin.origin.y = [theButton frame].origin.y + ([theButton
frame].size.height / 2);
It would have been pretty messy the other way.
Good luck, Alan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden