Question on NSScrollView /Scrolling through big Datasets
Question on NSScrollView /Scrolling through big Datasets
- Subject: Question on NSScrollView /Scrolling through big Datasets
- From: HAEUPL Friedrich - RTAA <email@hidden>
- Date: Mon, 19 Nov 2001 13:48:00 +0100
How do I display big datasets in a ScrollView?
One possibility is to expand the width ....
// This is a methode to extend the area of the scrollview
- extendFrameSize:(float)width
{
NSRect theFrame;
// Get the actual bounds of the viewABLE area
theFrame = [self bounds];
// increased by WIDTH
theFrame.size.width += width;
// NSLog(@"theFrame.size.width = %f",theFrame.size.width);
// set the new frame of the viewABLE area
[self setFrame:theFrame];
return self;
}
... but this is not good for big datasets(5000000 samples). Is there any good tutorial
that shows how do program this?
Thanx, fritz