• 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
Question on NSScrollView /Scrolling through big Datasets
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: Embedding a picture into a disk image
  • Next by Date: Re: NSTask interaction
  • Previous by thread: [solved] Re: plist file and encoding format problem
  • Next by thread: Launching Application with arguments
  • Index(es):
    • Date
    • Thread