Overview Block Scrollview

The scroll view shows a section of a larger area. Any controls can be placed in this area and are moved by swiping, so long lists or many switches fit into a small space.

Operation

The user swipes a finger across the area and the content follows. The element itself stays invisible; only the controls inside it are seen. A simple tap operates the respective control as on a page; the area only scrolls when swiping, and nothing is triggered. While swiping inside the scroll view, the page does not scroll along. If the scroll view scrolls vertically only, swiping horizontally changes the page. If it also scrolls horizontally, the gesture stays with the scroll view; to change the page, start outside it.



Setup

This section is intended for the installer of the system.

  1. Drag the Block Scrollview element onto a page. The size of the element is the visible window; it can be changed with the handles like any other element. In the Studio it appears as a dashed area.
  2. Set the Content width and Content height in the parameters. This is the size of the whole area in which the controls are placed, as a percentage of the size of the element: 100 % is as large as the element, 200 % twice as large. Because the value is relative, it fits every end device and every zoom of the visualization.
  3. Drag more controls onto the area. They become part of the scroll view and lie in the content area. They can be moved, resized, copied and deleted as on a page.

While editing in the Studio, scroll bars are visible. The mouse wheel scrolls the content (horizontally while holding the Shift key). This way every position of the area can be reached, including parts behind the visible window. The position of the controls always applies within the content area, independent of the scroll position. Moving a control beyond the edge of the window does not scroll automatically – follow with the mouse wheel or the scroll bar.

Parameters

Area

Direction Vertical, Horizontal or Both. Default is vertical. In a locked direction nothing scrolls; the content is as large as the element there.
Content width Width of the scrollable area as a percentage of the width of the element. 100 % (minimum) is as wide as the element, 200 % twice as wide. Default is 100 %. Only effective for horizontal or both-way scrolling.
Content height Height of the scrollable area as a percentage of the height of the element. 100 % (minimum) is as tall as the element, 200 % twice as tall. Default is 200 %. Only effective for vertical or both-way scrolling.
Scroll bars Display of the thin scroll bars in playback and in the APP. Not visible: no bar, the area is only moved by swiping. On touch: the bars appear as soon as the area is touched or scrolled and fade out shortly after the movement ends (default). Always: the bars stay visible as long as the content can be scrolled. While editing in the Studio the bars are always visible.

Display

Hide when 1 (default) or 0: at which value of the address Hide the scroll view disappears together with its content, see below. Only effective in playback; in the editor it always stays visible.

Address links

Hide Optional. With Hide when 1 a value other than 0 hides the scroll view together with all elements in it, 0 shows it. With Hide when 0 it is the other way round: 0 hides, a value other than 0 shows. Not linked: the scroll view always stays visible, whether Hide when 0 or when 1 is set.

Notes

See also General properties of all controls.