Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6966741
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T16:13:50+00:00 2026-05-27T16:13:50+00:00

How do I disable the autoscroll in a NSScrollView as I’m filling it with

  • 0

How do I disable the autoscroll in a NSScrollView as I’m filling it with content?

I have subclassed it in my own class but I don’t find an appropriate method to override.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T16:13:51+00:00Added an answer on May 27, 2026 at 4:13 pm

    There’s probably more than one way to go about this, but take a look at -[NSClipView constrainScrollPoint:]. It’s not meant to be called directly, rather to be overridden in an NSClipView subclass. NSClipView is the class that actually does the real work of scrolling the content of an NSScrollView.

    You should be able to override it to simply return the document view’s current origin point when you don’t want scrolling to happen. It’s worth noting that this will also disable scrolling via the user-visible interface, so you should only do it while you’re filling the view with content. Otherwise, return the result of a call to the superclass’s implementation.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am able to disable Bluetooth using Bluetooth API`s Disable method .but my requirement
I want to disable autoscroll to top. I tried both tableview.scrollsToTop=NO; [tableview setScrollsToTop:NO]; but
I want to disable the back-button in my application. But ONLY when this method
I want to disable only checkboxes that are checked AND have a specific class.
i want disable statusbar in activity, i have use below code, it happen SecurityException,
I'm trying to disable access logging (access_log) for domains. I can't find a way
I want to disable the archive logs in my oracle db. But when i
Details: Only disable after user clicks the submit button, but before the posting back
I would like to disable the parent windows access of scrollbars when the fancybox
Is it possible to disable Tomcats check for extended key usage which defines purpose(server,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.