The ScrollView container allows the Kreo programmer to insert an object larger than the container.
The final effect will be a page that can be scrolled both to the right and to the left using the swipe gesture.
For example, the user can enter the alarm view and view only the first columns and then move to the left to view the entire message.
Commands integrated in the container
-
Adapt virtual area to widget: Aligns the object inside the container to the dimensions of the container
-
Decrease width virtual area: decreases the width of the virtual area within which the object is located
-
Increase width virtual area: increases the width of the virtual area within which the object is located
-
Decrease height virtual area: decreases the height of the virtual area within which the object is located
-
Increase height virtual area: increases the height of the virtual area within which the object is located
Cursor
Once the object has been inserted into the virtual area it is possible to move it using the appropriate cursors.
By placing the mouse on one of the scroll bars (horizontal or vertical) the cursor icon changes to a pair of arrows representing the two opposite directions of movement.
Properties
Property
|
Description
|
Default value
|
Behaviour
|
|
|
Visibility
|
Define if the object is visible
|
ON
|
Disabled
|
Define if the object input is enabled or not
|
OFF
|
Attributes
|
|
|
VirtualWidth
|
Width of the virtual area
|
Same of the widget
|
VirtualHeight
|
Height of the virtual area
|
Same of the widget
|
Backgroundcolour
|
Colour of the background
|
Transparent
|
EnableZoom
|
Enable the zoom gesture for the control inside the container
|
OFF
|
Scrollbar
|
|
|
Horizontal
|
Enable the horizontal scroll bar
|
ON
|
Vertical
|
Enable the vertical scroll bar
|
ON
|
Width
|
Scroll bar width
|
20
|
Colour
|
Scrollbar colour
|
Gray
|
SliderColour
|
Colour of the slider that is moving inside the scrollbar
|
Gray
|
Opacity
|
Scrollbar opacity
|
255
|