Visible At Launch for Panels
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