Re: get a window in front by clicking on a menu item
Re: get a window in front by clicking on a menu item
- Subject: Re: get a window in front by clicking on a menu item
- From: Alexander Spohr <email@hidden>
- Date: Fri, 5 Jun 2009 20:54:25 +0200
Ah, wait!
Am 05.06.2009 um 18:03 schrieb Martin Batholdy:
My AppController [...] creates an instance of it in the awakeFromNib
function.
[...]
I have created a window in the Interface Builder and have connected
it with an IBOutlet NSWindow variable in the MenuHandler.
If you create your menuHandler in awakeFromNib, how can you connect it
to the window in IB? It not there when you try to connect the outlet.
You seem to connect to another / a wrong menuHandler instance.
atze
_______________________________________________
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