• 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
Open sheet for new window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Open sheet for new window


  • Subject: Open sheet for new window
  • From: Ivan Myrvold <email@hidden>
  • Date: Thu, 8 Aug 2002 17:43:42 +0200

I want a sheet to show on a window, when I start my program. I first tried to put the [NSApp beginSheet:...] method call in windowDidLoad in my windowcontroller class. But that was too early, because the sheet was not attached to the window.

Then I put the method call in the windowDidBecomeMain: delegate method. That works better, but the text field that I had designed to be key on the sheet is not key. Instead a text field on the window is key, and starts accepting characters when I start typing. I have to deliberately click the window, to have the sheet field be key.

Any suggestion to this is welcome.

Ivan C Myrvold
OrtopediService AS
Mob. 913 16 356
Tlf. 38 14 45 93
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Open sheet for new window
      • From: Jim Balhoff <email@hidden>
    • Re: Open sheet for new window
      • From: Stéphane Sudre <email@hidden>
  • Prev by Date: Re: Replacing Font/Size of NSMutableAttributedString, but not styles
  • Next by Date: Re: Can launch app as root but not as any other user
  • Previous by thread: How do I determine the toolbar height?
  • Next by thread: Re: Open sheet for new window
  • Index(es):
    • Date
    • Thread