MBS Xojo Developer Conference and Training
Join us from 3rd to 6th May 2017 in Berlin, Germany.

Platforms to show: All Mac Windows Linux Cross-Platform

NSScrollViewMBS class

Super class: NSViewMBS

class, Cocoa Controls, MBS CocoaControls Plugin (NSScrollView), class NSScrollViewMBS,
Plugin version: 7.8, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: The Cocoa class for a view which has scrollbars.
Notes:
Embed another view inside it to add scrolling.

You can embed this view in a CustomNSViewMBS to get more events for mouse and keyboard.
Subclass of the NSViewMBS class.

Elasticity behavior Constants

Constant Value Description
NSScrollElasticityAllowed 2 Allow content to be scrolled past its bounds on this axis in an elastic fashion.
Available in Mac OS X v10.7 and later.
NSScrollElasticityAutomatic 0 Automatically determine whether to allow elasticity on this axis.
Available in Mac OS X v10.7 and later.
NSScrollElasticityNone 1 Disallow scrolling beyond document bounds on this axis.
Available in Mac OS X v10.7 and later.

Findbar position constants

Constant Value Description
NSScrollViewFindBarPositionAboveContent 1 The find bar is displayed above the scroll view content.
Available in Mac OS X v10.7 and later.
NSScrollViewFindBarPositionAboveHorizontalRuler 0 The find bar is displayed above the horizontal ruler, if visible.
Available in Mac OS X v10.7 and later.
NSScrollViewFindBarPositionBelowContent 2 The find bar is displayed below the scroll view content.
Available in Mac OS X v10.7 and later.

Super class NSViewMBS

Window Order Constants

Constant Value Description
NSWindowAbove 1 Moves the window above the indicated window.
NSWindowBelow -1 Moves the window below the indicated window.
NSWindowOut 0 Moves the window off the screen.

Super class NSResponderMBS

This class has no sub classes.

Some methods using this class:

Some properties using for this class:

Some examples which use this class:


The items on this page are in the following plugins: MBS CocoaBase Plugin, MBS CocoaControls Plugin.


NSScrollerMBS   -   NSSearchFieldMBS




Links
MBS Realbasic tutorial videos