4. System Classes : ScrollBarField Class : ElevatorSize Attribute
 
Share this page                  
ElevatorSize Attribute
Data Type: integer
4GL Access: RW
The ElevatorSize attribute represents the portion of the scroll bar's value range that is visible at one time. For example, if the range of the scroll bar is from 1 to 200, the ElevatorSize would be a value such as 50.
The elevator is the rectangle in the middle of the scroll bar that typically represents the portion of the scrolled object that is currently displayed. If you attempt to change the ElevatorSize attribute to a value greater than the maximum value minus the current value, which is the value at which the top or left edge of the elevator rests, OpenROAD sets the ElevatorSize to the maximum value minus the current value. To avoid this, change the MaxValue attribute before setting the ElevatorSize.
On all platforms, changing the ElevatorSize attribute does not change the physical appearance of the elevator.