ScrollButtonsEnabled: Boolean;
The ScrollButtonsEnabled property determines whether scroll buttons are visible.
Use JSON or the setScrollButtonsEnabled method to set the property value and the getScrollButtonsEnabled method to get the property value.
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(); // Hide scroll buttons scroll.setScrollButtonsEnabled(false);
After executing the example scroll buttons are hidden.
See also: