Re: Scroll position of a NSTextView
Re: Scroll position of a NSTextView
- Subject: Re: Scroll position of a NSTextView
- From: Andreas Mayer <email@hidden>
- Date: Thu, 4 Sep 2003 02:00:35 +0200
Am Mittwoch, 03.09.03 um 21:06 Uhr schrieb Neil Earnshaw:
Do you know if that floatValue represent the top, bottom or middle of
the knob's range?
It doesn't matter.
You subtract the visible size from the document size and get the
scrolling range. The scroller position is the normalized position (0.0
- 1.0) inside that range.
Oh. The 0.0 postion is top or left, if that's what you meant.
bye. Andreas.
_______________________________________________
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.