Re: forcing a dialog to be the active (front) window
Re: forcing a dialog to be the active (front) window
- Subject: Re: forcing a dialog to be the active (front) window
- From: Andreas Mayer <email@hidden>
- Date: Fri, 23 Jul 2004 02:58:55 +0200
Am 23.07.2004 um 00:07 Uhr schrieb Jim Ways:
[thePanel makeKeyAndOrderFront: @"1"];
seems to work for some reason, im still new to cocoa
but its worth a try =)
This really shouldn't make a difference. The argument is just the
sender and in this case I believe it's only there so that the method
signature is that of an action method
(<
http://developer.apple.com/documentation/Cocoa/Conceptual/
BasicEventHandling/Concepts/ActionEventMsg.html>).
Using a constant string as sender argument is - umm - strange. I'd
recommend using nil or self instead.
Andreas
_______________________________________________
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.