Le 13 mai 07 à 22:24 Soir, Terry Ford a écrit: > On May 13, 2007, at 12:58 PM, Craig A. Finseth wrote: > >> When I display a sheet window inside a document window, the red >> "close" button on the window title bar isn't active, even though it's >> been enabled in the properties window. > > A modal (Dialog) window does *not* have a close button and a sheet > window is nothing but a modal window that appears on top of the > document window that is its parent.
Well, a modal window does not have a zoom button. The parent can. > The close button you see is part > of the parent window and not the modal (sheet) window. It is disabled > when the dialog becomes frontmost along with quit and a few other > menubar items. You cannot click on another window in the application > to bring it frontmost either. You must close or hide the dialog > before it will be enabled. For the sheet dialog, only the parent window is relevant here. >> I realize that there may well be some UI debate as to whether it >> should be, but in this case it really does make sense. > > Could you explain why? > >> Any way I can get it to show up? Declares? If so, where do I put >> them? > > You could always put a close pushbutton on the sheet window. I don't > think there are any declares to enable the parent window's close > widget when a modal window is frontmost. I think the normal UI way is to add a "Close" push button at the bottom-right part of the window. This may even close both the sheet and the parent window. BTW: It seems strange to me to use a sheet with its parent to be both closed in the same time. I think there is probably a better way to achieve that. _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
