Re: NSProgressIndicator drawing
Re: NSProgressIndicator drawing
- Subject: Re: NSProgressIndicator drawing
- From: "Alan Smith" <email@hidden>
- Date: Thu, 23 Nov 2006 15:14:10 -0500
No idea what the problem is.
In cases like this the thing to do is post the code that creates the
NSProgressIndicator. With that we (the members of this list) should
have no trouble finding the problem.
Cheers, Alan
PS. The code below should create a progress indicator fine, but I
haven't tested it.
NSProgressIndicator *bar = [[NSProgressIndicator alloc] initWithFrame:
NSMakeRect(0, 0, 100, 10)];
[bar setMaxValue: 50];
[bar setDoubleValue: 25];
[[window contentView] addsubview: bar];
[bar release];
--
// Quotes from yours truly -------------------------
"You don't forget, you just don't remember."
"Maturity resides in the mind."
"Silence is the Universe's greatest gift."
"When the World realizes that religion really is unnecessary, then it
shall evolve."
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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