🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.programmer
Article #288

Re: Problems with ColorWells in a ScrollView

#288
From: John Jay Feiler
Date: Tue, 28 Jul 1992 07:57
47 lines
1634 bytes
In article <1683@nextpoint.UUCP> hans@dev01 (Hans Peter Geiser) writes:
> Hello !
> 
> I have a little problem (or bug) which everyone can reproduce in a few  
seconds.
> Just start the IB , drag some ColorWells one beyond the other and group  
them in  
> a ScrollView. If you try this in the Test-Mode (or in the compiled version)  
> you'll see that the ColorWells aren't displayed correctly. If you move the  
> scrollbars fast enough all is okay, but if you get slower you'll miss some  
> ColorWells. But they still there as you can see by clicking on the place  
where  
> they should be.
> Does anybody knows what happens or better how to solve this problem? 
> 
> Thanks for answers    Hans-Peter Geiser

I encountered this the other day and sent a bug report off to NeXT.  Here's  
my workaround....

---------------MyNXColorWell.h
#import <appkit/appkit.h>

@interface MyNXColorWell:NXColorWell
{
}

- drawSelf:(const NXRect *)rects :(int)nrect;

@end
-----------------MyNXColorWell.m
#import "MyNXColorWell.h"

@implementation MyNXColorWell

- drawSelf:(const NXRect *)rects :(int)nrect
{
	[super drawSelf:&bounds :1];
	return self;
}


@end
----------------


	John
Technical Details
Message-ID: <1992Jul28.075720.3952@relief.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!psinntp!relief!jjfeiler
References: <1683@nextpoint.UUCP>

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!psinntp!relief!jjfeiler
From: jjfeiler@relief.com (John Jay Feiler)
Subject: Re: Problems with ColorWells in a ScrollView
Message-ID: <1992Jul28.075720.3952@relief.com>
Sender: jjfeiler@relief.com
Reply-To: jjfeiler@relief.com
Organization: relief consulting
References: <1683@nextpoint.UUCP>
Date: Tue, 28 Jul 1992 07:57:20 GMT
Lines: 47