HScrollInfo property (Main Control)

Visual Basic example
Visual C++ 4.0 example

Syntax LEADScrollInfo* HScrollInfo

Overview:  Refer to Scrolling an Image.

Remarks

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

The LEADScrollInfo object has the following properties:

Property

Description

Min

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

Max

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

Page

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

Line

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

Pos

Long 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) Float value that is updated with the size of the of the scrollbar. The unit of measure is determined by the ScaleMode property.

See Also

Elements:  AutoScroll property, VScrollInfo property, Scroll event, Resize event

Topics:  Raster Images: Displaying Images