Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Rép : How show a sheet ?



How attach a sheet window to other window. And how show this sheet when
the user click on button.

Thank you for your reponses.
It was a help.
I had another problem. I want show a sheet when the main window is opening.
The sheet was'nt attached to the main window. I called beginSheet in windowControllerDidLoadNib of NSDocument.
I found a solution : Before this call (beginSheet), i call showWindows(); and it's ok.

Stiphane Chomat
22 rue Le Brix
38100 Grenoble
603-999-478
email@hidden

Dibut du message riexpidii :

De : Stefan Jung <email@hidden>

There are so many tutorials out there.
How about:
http://www.cocoadevcentral.com/tutorials/showpage.php?show=00000014.php
Or Recipe 4 of the Vermont Recipes at www.stepwise.com
Also look at www.cocoadev.com. I am sure you fnd some code and additional links.
And of course the Sketch and TextEdit examples cover this topic.

Stefan

De : Scott Anguish <email@hidden>

There is an introduction to sheets in Vermont Recipes (http://www.stepwise.com/VermontRecipes) that should help you with this.

De : Don Rainwater <email@hidden>

Take a look at this:

Working with Sheets in Cocoa

http://www.oreillynet.com/pub/a/mac/2001/10/05/cocoa.html

This article is also now listed on Stepwise.




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.