• 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
Visible At Launch for Panels
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Visible At Launch for Panels


  • Subject: Visible At Launch for Panels
  • From: Boyd Collier <email@hidden>
  • Date: Fri, 21 Dec 2007 11:51:36 -0800

In response to the user selecting a particular item, I create a panel from a nib. If the "Visible At Launch" check box in the inspector of the nib containing the panel is checked, the panel is displayed, just as I would expect. However, if the check box is not checked, the panel is not displayed, again as I would expect. However, it seems like I should programatically be able to make the panel visible by using windowDidLoad: or awakeFromNib: (or ... ?) with

[[self window] makeKeyAndOrderFront:[self window]];
[self showWindow:self];

in the body of one or another of these methods. But I've not succeeded in coming up with the appropriate combination of steps for doing this. Seems like it should be very easy, but I'm obviously deficient in understanding something, so any help would be appreciated.

Boyd

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Visible At Launch for Panels
      • From: "Sherm Pendley" <email@hidden>
  • Prev by Date: Getting the OutlineView for contextual menu?
  • Next by Date: NSImage to PDFPage in Tiger?
  • Previous by thread: Re: Getting the OutlineView for contextual menu?
  • Next by thread: Re: Visible At Launch for Panels
  • Index(es):
    • Date
    • Thread