• 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: Wed, 3 Sep 2003 20:49:04 +0200

Am Mittwoch, 03.09.03 um 18:59 Uhr schrieb Philippe Robin:

How can I get the scroll-bar position os a NSTextView?

An NSTextView does not have a scroll bar. It's NSScrollView has:

float scrollerPosition = [[[textView superview] verticalScroller] floatValue];

(typed in Mail.app - not tested)


Why do you need that value?


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.

  • Follow-Ups:
    • Re: Scroll position of a NSTextView
      • From: j o a r <email@hidden>
References: 
 >Scroll position of a NSTextView (From: Philippe Robin <email@hidden>)

  • Prev by Date: Re: question
  • Next by Date: Re: Dragging to select rectangle
  • Previous by thread: Re: Scroll position of a NSTextView
  • Next by thread: Re: Scroll position of a NSTextView
  • Index(es):
    • Date
    • Thread