cubeScrollController

circle-info

Class (inherits from ContainerControlarrow-up-right)

Methods

AddView

Adds a View (dynamically at the Runtime) to the StackView.

Parameters

Name

Description

view

Pointer to the View which should be added to the StackView.

index

Position to add the View into the StackView.

Expand

Expand or collapse the StackController.

Parameters

Name

Description

value

A Boolean specifiying the state of the StackController.

Sample Code

PushButton1 Action-Event:

GetViews As ViewController()

Returns an Array of the StackViews Views.

Init

Creates a new ScrollContainer starting with the given Parameters. UseNSScrollView is optional.

Parameters

stackView

Pointer to the StackController.

scrollBar

Pointer to the ScrollBar.

animated

Set Animation of the StackController.

UseNSScrollView

Use NSScroller (macOS-only) If UseNSScrollView = True and you compile for Linux / Windows, the parameter will be ignored and the ScrollController uses the ScrollBar parameter.

Sample Code

MyScrollContainer1 Open-Event:

RemoveView

Removes a View from the StackView.

Parameters

Name

Datatype

Description

index

Removes the View at position index from the StackView.

Properties

Expanded As Booleanarrow-up-right (read-only)

Returns the state of the StackController.

UseAnimation As Booleanarrow-up-right

The animation state of the StackController.

circle-info

The StackView Classes are able to shown within a NSScrollViewarrow-up-right. This feature is macOS-only and there is no guarantee that the feature will work in coming Versions of Apple’s macOS. StackView uses the XScrollViewarrow-up-right class of Jim McKay from piDog Softwarearrow-up-right.

Last updated