• 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
Re: scrolling an NstextView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: scrolling an NstextView


  • Subject: Re: scrolling an NstextView
  • From: David Rice <email@hidden>
  • Date: Wed, 14 Jul 2004 18:52:46 -0400

Update...

I added a setNeedsDisplay:YES as shown below without success. Is this
because the redisplay happens only in the main event loop? Would a
timer be a way to do this?

>
> while ( frameYOrigin < viewHeight - frameHieght) {
> [textView scrollPoint:NSMakePoint( 0, frameYOrigin ) ];

[textView setNeedsDisplay:YES];

> frameYOrigin += step;
> while ( TickCount () < numTicks+5); // a short delay
> numTicks = TickCount ();
> }
_______________________________________________
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.


  • Follow-Ups:
    • Re: scrolling an NstextView
      • From: Douglas Davidson <email@hidden>
  • Prev by Date: Re: [options] Cocoa GUI Client to web based SQL database
  • Next by Date: Re: floats and number formatters
  • Previous by thread: Re: NSOpenGLView subclass draw issues in NSPanel
  • Next by thread: Re: scrolling an NstextView
  • Index(es):
    • Date
    • Thread