Re: Progress bar
Re: Progress bar
- Subject: Re: Progress bar
- From: Andrea Salomoni <email@hidden>
- Date: Thu, 10 Nov 2005 23:13:47 +0100
Hi,
yes is a cocoa application template.
And no... I think isn't enough to setstingvalue (i.e for a status
message.
I wrote this:
-(void)awakeFromNib
{
[myStatusField setStringValue:@"Setting up database"];
[myStatusField display];
//////////
loadWindow = [[NSWindow alloc] initWithContentRect:[loadWindow
frame] styleMask:NSBorderlessWindowMask backing:NSBackingStoreBuffered
defer:YES];
[loadWindow setContentView:theView];
[loadWindow setHasShadow:YES];
[theImage setImage:[NSImage imageNamed:@"splash.tif"]];
[theImage setTarget:loadWindow];
[theImage setAction:@selector(orderOut:)];
[loadWindow makeFirstResponder:theImage];
[loadWindow setLevel:NSStatusWindowLevel];
[loadWindow setIgnoresMouseEvents:NO];
[theImage setNeedsDisplay];
[loadWindow makeKeyAndOrderFront:self];
[upgrade checkDirectory];
//////////
[self addToWin:thisWindow];
[myPrintFolder addToWin:myFolderPanel];
[metarPop removeAllItems];
[myStatusField setObjectValue:[NSString stringWithString:@"Quering
database....."]];
....
Thank you all
Andrea
Il giorno 10/nov/05, alle ore 23:00, Daniel Jalkut ha scritto:
Did you start from one of Xcode's "Cocoa Application" templates?
If not, this would probably be a good idea at least until you get
more knowledgeable about how everything fits together.
If you use of the templates, most of this stuff just works. Also,
if you haven't gone through any of the introductory Cocoa
tutorials, that would probably be a good idea.
Daniel
On Nov 10, 2005, at 4:56 PM, Andrea Salomoni wrote:
Isn't enough... infact if I try to diplay a text for example and
try to change it the text isn't displayed...
I think that should be something about loop of events...
any idea?
_______________________________________________
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