Re: end of sheet and re-activationg window
Re: end of sheet and re-activationg window
- Subject: Re: end of sheet and re-activationg window
- From: Stéphane Sudre <email@hidden>
- Date: Mon, 4 Nov 2002 11:27:02 +0100
On dimanche, nov 3, 2002, at 21:47 Europe/Paris, Yann Bizeul wrote:
Hi there,
I have a little problem using alert sheet : All works fine but when I
clic "OK" to close the sheet, the window does not seem to come back in
front, their buttons are gray, and the textField I just hilighted is
gray.
It seems makeKeyAndOrderFront does not activate the window ? Or this
action occures before the sheet is closed, but it should not...
- (void)sheetDidEnd: (NSWindow*)sheet returnCode: (int)returnCode
contextInfo: (void*)contextInfo
{
[ prefWindow makeKeyAndOrderFront: self ];
[ tunnelName selectText:self ];
}
It's working without having to add [ prefWindow makeKeyAndOrderFront:
self ]; so maybe this is the problem.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.