Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

Platforms to show: All Mac Windows Linux Cross-Platform

NSScrollViewMBS.autohidesScrollers as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa Controls MBS MacControls Plugin 7.8 Yes No No Yes, macOS only No
Function: True when autohiding is set for scroll bars in the scrollview.
Notes: (Read and Write property)

Feedback, Comments & Corrections

NSScrollViewMBS.backgroundColor as NSColorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa Controls MBS MacControls Plugin 7.8 Yes No No Yes, macOS only No
Function: The background color.
Notes: (Read and Write property)

Feedback, Comments & Corrections

NSScrollViewMBS.borderType as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa Controls MBS MacControls Plugin 11.3 Yes No No Yes, macOS only No
Function: The border type.
Notes:
Specifies the appearance of the style of the scroll view's border. See NSBorderType for a list of possible values.
Use constants NSNoBorder = 0, NSLineBorder = 1, NSBezelBorder = 2 or NSGrooveBorder = 3.
(Read and Write property)

Feedback, Comments & Corrections

NSScrollViewMBS.contentSize as NSSizeMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa Controls MBS MacControls Plugin 9.6 Yes No No Yes, macOS only No
Function: Returns the size of the receiver's content view.
Notes: (Read only property)

Feedback, Comments & Corrections

NSScrollViewMBS.contentView as NSClipViewMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa Controls MBS MacControls Plugin 11.3 Yes No No Yes, macOS only No
Function: The content view.
Notes:
If view has a document view, this method also sets the receiver's document view to be the document view of view. The original content view retains its document view.
(Read and Write property)

Feedback, Comments & Corrections

NSScrollViewMBS.documentCursor as NSCursorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa Controls MBS MacControls Plugin 11.3 Yes No No Yes, macOS only No
Function: The cursor used when the cursor is over the content view.
Notes: (Read and Write property)

Feedback, Comments & Corrections

NSScrollViewMBS.documentView as NSViewMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa Controls MBS MacControls Plugin 8.4 Yes No No Yes, macOS only No
Function: The view the receiver scrolls within its content view.
Notes: (Read and Write property)

Feedback, Comments & Corrections

NSScrollViewMBS.documentVisibleRect as NSRectMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa Controls MBS MacControls Plugin 9.6 Yes No No Yes, macOS only No
Function: Returns the portion of the document view, in its own coordinate system, visible through the receiver's content view.
Notes: (Read only property)

Feedback, Comments & Corrections

NSScrollViewMBS.drawsBackground as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa Controls MBS MacControls Plugin 7.8 Yes No No Yes, macOS only No
Function: A Boolean value that indicates whether the scrollview draws its background.
Notes: (Read and Write property)

Feedback, Comments & Corrections

NSScrollViewMBS.hasHorizontalRuler as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa Controls MBS MacControls Plugin 7.8 Yes No No Yes, macOS only No
Function: True if the receiver maintains a horizontal ruler view, false if it doesn't.
Notes: (Read and Write property)

Feedback, Comments & Corrections

NSScrollViewMBS.hasHorizontalScroller as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa Controls MBS MacControls Plugin 7.8 Yes No No Yes, macOS only No
Function: Whether the receiver keeps a horizontal scroller
Notes: (Read and Write property)

Feedback, Comments & Corrections

NSScrollViewMBS.hasVerticalRuler as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa Controls MBS MacControls Plugin 7.8 Yes No No Yes, macOS only No
Function: Determines whether the scrollview keeps a vertical ruler object.
Notes: (Read and Write property)

Feedback, Comments & Corrections

NSScrollViewMBS.hasVerticalScroller as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa Controls MBS MacControls Plugin 7.8 Yes No No Yes, macOS only No
Function: True if the scrollview displays a vertical scroller, false if it doesn't.
Notes: (Read and Write property)

Feedback, Comments & Corrections

NSScrollViewMBS.horizontalLineScroll as Double
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa Controls MBS MacControls Plugin 7.8 Yes No No Yes, macOS only No
Function: The amount by which the receiver scrolls itself horizontally when scrolling line by line to aFloat, expressed in the content view's coordinate system.
Notes:
This amount is the amount used when the user clicks the scroll arrows on the horizontal scroll bar without holding down a modifier key. When displaying text in an NSScrollView, for example, you might set this amount to the height of a single line of text in the default font.
(Read and Write property)

Feedback, Comments & Corrections

NSScrollViewMBS.horizontalPageScroll as Double
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa Controls MBS MacControls Plugin 7.8 Yes No No Yes, macOS only No
Function: The amount of the document view kept visible when scrolling horizontally page by page, expressed in the content view's coordinate system.
Notes:
This amount is used when the user clicks the scroll arrows on the horizontal scroll bar while holding down the Option key.

This amount expresses the context that remains when the receiver scrolls by one page, allowing the user to orient to the new display. It differs from the line scroll amount, which indicates how far the document view moves. The page scroll amount is the amount common to the content view before and after the document view is scrolled by one page.
(Read and Write property)

Feedback, Comments & Corrections

NSScrollViewMBS.horizontalScrollElasticity as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa Controls MBS MacControls Plugin 11.3 Yes No No Yes, macOS only No
Function: The scroll view's horizontal elasticity mode.
Notes:
A scroll view can scroll its contents past its bounds to achieve an elastic effect.

When set to NSScrollElasticityAutomatic, scrolling the horizontal axis beyond its document bounds only occurs if the document width is greater than the view width or, the vertical scroller is hidden and the horizontal scroller is visible.

The default value is NSScrollElasticityAutomatic.

Available in Mac OS X v10.7 and later.
(Read and Write property)

Feedback, Comments & Corrections

NSScrollViewMBS.horizontalScroller as NSScrollerMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa Controls MBS MacControls Plugin 8.4 Yes No No Yes, macOS only No
Function: The receiver's horizontal scroller, regardless of whether the receiver is currently displaying it, or nil if the receiver has none.
Notes: (Read and Write property)

Feedback, Comments & Corrections

NSScrollViewMBS.lineScroll as Double
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa Controls MBS MacControls Plugin 7.8 Yes No No Yes, macOS only No
Function: The horizontal and vertical line scroll amounts to aFloat.
Notes:
The line scroll is the amount by which the receiver scrolls itself when scrolling line by line, expressed in the content view's coordinate system. It's used when the user clicks the scroll arrows without holding down a modifier key. When displaying text in an NSScrollView, for example, you might set this value to the height of a single line of text in the default font.

As part of its implementation, this method sets VerticalLineScroll and HorizontalLineScroll.
(Read and Write property)

Feedback, Comments & Corrections

NSScrollViewMBS.pageScroll as Double
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa Controls MBS MacControls Plugin 7.8 Yes No No Yes, macOS only No
Function: The vertical page scroll amount: the amount of the document view kept visible when scrolling vertically page by page, expressed in the content view's coordinate system.
Notes:
This amount is used when the user clicks the scroll arrows on the vertical scroll bar while holding down the Option key. As part of its implementation, this method calls verticalPageScroll.

This amount expresses the context that remains when the receiver scrolls by one page, allowing the user to orient to the new display. It differs from the line scroll amount, which indicates how far the document view moves. The page scroll amount is the amount common to the content view before and after the document view is scrolled by one page.

Note that a scroll view can have two different page scroll amounts: verticalPageScroll and horizontalPageScroll. Use this method only if you can be sure they're both the same.
(Read and Write property)

Feedback, Comments & Corrections

NSScrollViewMBS.rulersVisible as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa Controls MBS MacControls Plugin 7.8 Yes No No Yes, macOS only No
Function: Whether rulers should be visible.
Notes: (Read and Write property)

Feedback, Comments & Corrections

NSScrollViewMBS.scrollerKnobStyle as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa Controls MBS MacControls Plugin 11.3 Yes No No Yes, macOS only No
Function: The knob style of scroll views that use the overlay scroller style.
Notes:
Applicable only to scroll views that use overlay scrollers.
Available in Mac OS X v10.7 and later.
(Read and Write property)

Feedback, Comments & Corrections

NSScrollViewMBS.scrollerStyle as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa Controls MBS MacControls Plugin 11.3 Yes No No Yes, macOS only No
Function: The scroller style used by the scroll view.
Notes:
This setting is automatically set at runtime, based on the user's preference setting and, if relevant, the set of connected pointing devices and their configured scroll capabilities, as determined by the NSScroller method preferredScrollerStyle.

Setting an scroll view's scroller style sets the style of both the horizontal and vertical scrollers. If the scroll view subsequently creates or is assigned a new horizontal or vertical scroller, they will be assigned the same scroller style that was assigned to the scroll view..

Available in Mac OS X v10.7 and later.
(Read and Write property)

Feedback, Comments & Corrections

NSScrollViewMBS.scrollsDynamically as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa Controls MBS MacControls Plugin 7.8 Yes No No Yes, macOS only No
Function: True if the scrollview redraws its document view while tracking the knob, false if it redraws only when the scroller knob is released.
Notes:
NSScrollView scrolls dynamically by default.
(Read and Write property)

Feedback, Comments & Corrections

NSScrollViewMBS.usesPredominantAxisScrolling as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa Controls MBS MacControls Plugin 11.3 Yes No No Yes, macOS only No
Function: Whether the scroll view uses a predominant scrolling axis for content.
Notes:
Whether the scroll view supports a predominant scrolling direction. true if there is a predominant scrolling direction; otherwise false.

Some content is scrollable in both the horizontal and vertical axes, but is predominantly scrolled one axis at a time. Other content (such as a drawing canvas) should scroll freely in both axes.

Traditionally this is not an issue with scroll wheels since they can only scroll in one direction at a time. With scroll balls and touch surfaces, it becomes more difficult to determine the user's intention.

This property helps a scroll view determine the user's intention by specifying if there is a predominant scrolling axis for content.

The default value is true.

Available in Mac OS X v10.7 and later.
(Read and Write property)

Feedback, Comments & Corrections

NSScrollViewMBS.verticalLineScroll as Double
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa Controls MBS MacControls Plugin 7.8 Yes No No Yes, macOS only No
Function: The amount by which the view scrolls itself vertically when scrolling line by line to aFloat, expressed in the content view's coordinate system.
Notes:
This value is the amount used when the user clicks the scroll arrows on the vertical scroll bar without holding down a modifier key. When displaying text in an NSScrollView, for example, you might set this value to the height of a single line of text in the default font.
(Read and Write property)

Feedback, Comments & Corrections

NSScrollViewMBS.verticalPageScroll as Double
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa Controls MBS MacControls Plugin 7.8 Yes No No Yes, macOS only No
Function: The amount of the document view kept visible when scrolling vertically page by page to aFloat, expressed in the content view's coordinate system.
Notes:
This amount is used when the user clicks the scroll arrows on the vertical scroll bar while holding down the Option key.

This amount expresses the context that remains when the receiver scrolls by one page, allowing the user to orient to the new display. It differs from the line scroll amount, which indicates how far the document view moves. The page scroll amount is the amount common to the content view before and after the document view is scrolled by one page. Thus, setting the page scroll amount to 0.0 implies that the entire visible portion of the document view is replaced when a page scroll occurs.
(Read and Write property)

Feedback, Comments & Corrections

NSScrollViewMBS.verticalScrollElasticity as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa Controls MBS MacControls Plugin 11.3 Yes No No Yes, macOS only No
Function: The scroll view's vertical elasticity mode.
Notes:
A scroll view can scroll its contents past its bounds to achieve an elastic effect.

When set to NSScrollElasticityAutomatic, scrolling the vertical axis beyond its document bounds occurs if any of the following are true: the vertical scroller is visible, the content height is greater than view height, or the horizontal scroller hidden.

Available in Mac OS X v10.7 and later.
(Read and Write property)

Feedback, Comments & Corrections

NSScrollViewMBS.verticalScroller as NSScrollerMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa Controls MBS MacControls Plugin 8.4 Yes No No Yes, macOS only No
Function: The receiver's vertical scroller, regardless of whether the receiver is currently displaying it, or nil if the receiver has none.
Notes: (Read and Write property)

Feedback, Comments & Corrections

The items on this page are in the following plugins: MBS MacControls Plugin.




Links
MBS FileMaker blog