• 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
NSProgressIndicator disabled on sheet
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSProgressIndicator disabled on sheet


  • Subject: NSProgressIndicator disabled on sheet
  • From: j o a r <email@hidden>
  • Date: Thu, 12 Jul 2001 11:23:06 +0200

Hello,

Probably a simple question, but here it goes...
I put a NSProgressIndicatior on a sheet, something like this:

// Set values for the progress indicator
[mySheet setIndeterminate:NO];
[mySheet setDoubleValue:0.0];
[mySheet setMaxValue:100.0];

// Open a sheet to display the count of remaining items to parse through
[NSApp beginSheet:mySheet
modalForWindow:[myController valueForKey:@"mainWindow"]
modalDelegate:self
didEndSelector:@selector(didEndSheet:returnCode:contextInfo:)
contextInfo:self];

The sheet appears as it should, the progress indicator updates like it should and all methods seems to find their recievers - BUT - the progress indicator is disabled, greyed out.
I would assume that it queries the parent window / view to find out if it should be disabled or not and that my sheet doesn't return the correct info? Any ideas on how I could work around this?

Regards,

j o a r


  • Prev by Date: Re: Status of @"" strings
  • Next by Date: NSThread question - DO to make it sing
  • Previous by thread: Re: Status of @"" strings
  • Next by thread: NSBezierPath, Accessing elements of a NSBezierPath path
  • Index(es):
    • Date
    • Thread