Re: Quit menu item undimming itself?!
Re: Quit menu item undimming itself?!
- Subject: Re: Quit menu item undimming itself?!
- From: Lon Giese <email@hidden>
- Date: Tue, 9 May 2006 23:58:53 -0700
It seems that you are confused about what a sheet is... A sheet is a
document modal window, and it can never be used without a document
window to attach it to. When you're using an application modal dialog
/ window it's never referred to as a sheet.
I submit for your approval: (NSAlert is basically a convience method
for a simple sheet.... )
NSAlert
Displaying the alert
– runModal
– beginSheetModalForWindow:modalDelegate:didEndSelector:contextInfo:
runModal
Runs the receiver as an application-modal dialog
beginSheetModalForWindow:modalDelegate:didEndSelector:contextInfo:
Runs the receiver modally as a alert sheet attached to window.
On 10 maj 2006, at 08.31, Lon Giese wrote:
Why did you change from a window to a sheet? A sheet sounds better
to me .. you can put any widgets you want on a sheet... and sounds
like you want an application modal any way so why not call the sheet
without a window and get application modal?
It seems that you are confused about what a sheet is... A sheet is a
document modal window, and it can never be used without a document
window to attach it to. When you're using an application modal dialog
/ window it's never referred to as a sheet.
But in a way you're right - it might be that the easiest way to solve
this problem is to use a regular modal session, and not by trying to
emulate a modal session via other means.
j o a r
_______________________________________________
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