Skip navigation.
 
mlRe: Trouble with sheets
FROM : Jeremy Dronfield
DATE : Mon Apr 11 18:44:06 2005

What did you pass for the modalForWindow: argument? If you pass nil, it
will run as a modal window instead of a sheet.

Regards,

-Jeremy


On 11 Apr 2005, at 4:04 pm, Huibert Aalbers wrote:

> I have been following some tutorials on using sheets but my
> application shows a weir behaviour. When I call [NSApp beginSheet:..
> instead of displaying the window as a sheet it displays the window,
> and when I call [sheet orderOut:sender]; [NSApp endSheet... it simply
> hides the window. The weird thing is that although the window is not
> displayed as a sheet, it is still modal to the main window.
>
> Any ideas on what I may be doing wrong? Thanks in advance,
>
> Huibert

Related mailsAuthorDate
mlTrouble with sheets Huibert Aalbers Apr 11, 17:04
mlRe: Trouble with sheets Jeremy Dronfield Apr 11, 18:44