HScrollInfo property (Main Control)

C++ Builder example

Delphi example

 

Builder Syntax

TLEADScrollInfo* HscrollInfo;

Delphi Syntax

HScrollInfo: TLEADScrollInfo;

Overview

Refer to Scrolling an Image.

Remarks

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

The TLEADScrollInfo Class 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

Integer 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 left or line right. 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 scrollbar.

See Also

Elements:

AutoScroll property, VScrollInfo property, OnScroll event

Topics:

Raster Images: Displaying Images