• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Displaying sheet at initation of window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Displaying sheet at initation of window


  • Subject: Displaying sheet at initation of window
  • From: "Christoph Lauterbach" <email@hidden>
  • Date: Mon, 11 Oct 2004 01:27:33 +0200 (MEST)

Hi,

for initial document setup, I want to display a sheet right afer the
creation of a new window.

When I call the [NSApp beginSheet:...]method in the
windowControllerDidLoadNib method, the sheet (in sheet-look) is positioned
in the middle of the screen, and it isn't docked to the new document. When
I raise the sheet by clicking on a button in the document window, it is
well positioned.

I guess that the parameter [sender window]for modalForWindow: isn't right.

How can I make the sheet to get positioned well?

What's the common way for displaying sheets in document-based apps? Should
I manage it by a AppController?

Thank you very much.
Christoph

--
+++ GMX DSL Premiumtarife 3 Monate gratis* + WLAN-Router 0,- EUR* +++
Clevere DSL-Nutzer wechseln jetzt zu GMX: http://www.gmx.net/de/go/dsl

_______________________________________________
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

  • Prev by Date: toolbar menu erro
  • Next by Date: Application behaves strange / doesn't start correctly
  • Previous by thread: Re: toolbar menu erro
  • Next by thread: Re: Displaying sheet at initation of window
  • Index(es):
    • Date
    • Thread