ScrollBar.getIsVertical

Syntax

getIsVertical() : Boolean;

Description

The getIsVertical method determines whether scrollbar is vertical.

Example

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();
// Check if scrollbar is vertical
scroll.getIsVertical();

After executing the example it is determined whether scrollbar is vertical.

See also:

ScrollBar