Re: scrolling an NstextView
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.