NSProgressIndicator -setFrameOrigin visual updating anomaly
NSProgressIndicator -setFrameOrigin visual updating anomaly
- Subject: NSProgressIndicator -setFrameOrigin visual updating anomaly
- From: Matt Gemmell <email@hidden>
- Date: Sun, 12 May 2002 07:38:30 +0100
Hi again all,
I have an NSProgressIndicator which I only want to be visible during a
certain operation. Since NSProgressIndicator isn't an NSControl (it's an
NSView), I can't just use -setVisible: to make it invisible until the
appropriate time. Instead, I decided to use -setFrameOrigin: to move it
outwith the visible portion of the window until such times as I need it.
I'd welcome a better solution, but that's not really my question.
In my NSDocument subclass (this is a standard Cocoa document-based app),
I implement awakeFromNib: and move the progress indicator at that time.
This works fine, but it leaves the other controls looking slightly
strange - their blue tint has gone. Checked checkboxes and selected
radiobuttons lose their blue tint until they're clicked on again or
tabbed into. They don't appear 'disabled'; they just don't have the blue
tint anymore.
It doesn't affect functionality in any way, but it looks odd, and I'd
like to know what's causing it and how I can fix it. Any ideas?
Thanks for any replies.
Best,
-Matt
--
Matt Gemmell
Scotland Software
<
http://www.scotlandsoftware.com/>
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.