VScrollInfo property (Main Control)

C++ Builder example

Delphi example

 

Builder Syntax

TLEADScrollInfo * VScrollInfo;

Delphi Syntax

VScrollInfo: TLEADScrollInfo;

Overview

Refer to Scrolling an Image.

Remarks

(Runtime only) Contains the object that references the control's vertical scrollbar information.

The TLEADScrollInfo object has the following properties:

Property

Description

Min

(Read only) Integer value that is updated with the minimum scroll range value.

Max

(Read only) Integer value that is updated with the maximum scroll range value.

Page

UINT value that gets or sets the scroll page size, in pixels.

Line

Integer value that gets or sets the size of the scroll line, in pixels. This is the amount that will be scrolled by line up or line down. The line value must be <= the page value.

Pos

Integer value that gets or sets the thumb position (current position) of the scrollbar. This value can be set to scroll the display.

Visible

(Read only) Boolean flag that indicates whether the scrollbar is visible. If this is TRUE, the scrollbar is visible. If this value is FALSE, the scrollbar is not visible.

Width

(Read only) Integer value that is updated with the size of the of the scrollbar.

See Also

Elements:

AutoScroll property, HScrollInfo property, OnScroll event

Topics:

Raster Images: Displaying Images