On 30 Jun 2009, at 22:28, rethish wrote:
@implementation SendWindowClass
-(void)openNew
{
[ScheduleWindow makeKeyAndOrderFront:self];
}
What is ScheduleWindow, and how is it allocated? The code you've
provided here never initializes a window - I'm assuming that it's
sometimes
ScheduleWindow is an outlet of NSWindow.
And it is initialized by nib.
How can i manually initialize it?
On 7/1/09 12:16 PM, Andrew Farmer andf...@gmail.com wrote:
On 30 Jun 2009, at 22:28, rethish wrote:
@implementation SendWindowClass
-(void)openNew
{
[ScheduleWindow
- (void)applicationDidFinishLaunching:(NSNotification *)aNotification
{
SendWindowClass *obj =[[SendWindowClass alloc] init];
Is init loading the nib?
[obj openNew];
}
Am 01.07.2009 um 10:37 schrieb rethish:
ScheduleWindow is an outlet of NSWindow.
And it is initialized by nib.
Hi,
When I use the makeKeyAndOrderFront: method in a action method of a
NSButton , new window is displayed.
But I used the same method in a void function and when its called ,the
window is not displayed.
Why is it so?
Thank you in advance.
___
On Jun 30, 2009, at 6:13 AM, rethish wrote:
When I use the makeKeyAndOrderFront: method in a action method of a
NSButton , new window is displayed.
But I used the same method in a void function and when its called ,the
window is not displayed.
Why is it so?
Are you sure the window object