PDA

View Full Version : Closing sheets


sinclair44
2002.08.02, 08:34 PM
I have made a sheet in the following code, but am unable to close it. The 'Close' button on the winSheet does a 'performClose' on the winSheet.

My outlets are:
MainNSApp - the main Application
winSheet - A sheet that is displayed on top of MainWindow when you win the game
MainWindow - The window the game is displayed in.

[MainNSApp
beginSheet:winSheet
modalForWindow:MainWindow
modalDelegate:winSheet
didEndSelector:NULL
contextInfo:winSheet];

Sorry if that was cryptic, it's late and I'm tired.

sinclair44
2002.08.09, 09:27 AM
Never mind, I got it figured out.