• 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: Scroll position of a NSTextView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: Scroll position of a NSTextView (From: Neil Earnshaw <email@hidden>)

  • Prev by Date: Re: Hiding an NSControl
  • Next by Date: Re: Hiding an NSControl
  • Previous by thread: Re: Scroll position of a NSTextView
  • Next by thread: Re: Scroll position of a NSTextView
  • Index(es):
    • Date
    • Thread