ScrollSpeed: Number;
The ScrollSpeed property determines scroll button speed.
Use JSON or the setScrollSpeed method to set the property value and the getScrollSpeed method to get the property value.
The value is set in percents from total length.
Executing the example requires the SimpleTreeList component with the Tree identifier (see Example of Creating the SimpleTreeList Component).
// Display scrollbar by extending title caps = Tree.getCaptions(); caps.getCaptions()[0].setWidth(300); caps.getCaptions()[1].setWidth(300); // Get scrollbar scroll = Tree.getScrollBarH(); // Set scroll speed scroll.setScrollSpeed(30);
After executing the example scroll speed is set.
See also: