Re: setKeyEquivalent trouble [SOLVED]
Re: setKeyEquivalent trouble [SOLVED]
- Subject: Re: setKeyEquivalent trouble [SOLVED]
- From: Paolo Bertani <email@hidden>
- Date: Tue, 16 May 2006 09:54:09 +0200
After a sheet (NSOpenPanel) was closed I was trying to change the
default button on an NSPanel with
[myPanel setDefaultButtonCell:[buttonB cell]];
but it was not working.
The cause was that after the sheed ended the panel wasn't the key
window (as it was before the sheet started).
Just adding
[myPanel makeKey];
solved the problem.
Paolo.
_______________________________________________
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