Click or drag to resize

Window.Scroll Method (Typed)

X#
Scroll a rectangular area in the window a specified amount, in a specified direction, and optionally clip the area when scrolled.

Namespace:  XSharp.VO.SDK
Assembly:  XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.19
Syntax
 VIRTUAL METHOD Scroll(
	oDimension,
	oBoundingBox,
	lClip
) AS USUAL CLIPPER
Request Example View Source

Parameters

oDimension (Optional)
Type: Usual
The dimension representing the amount to move the rectangular scroll area (relative to its origin). Positive width values scroll to the right while negative width values scroll to the left. In addition, positive height values scroll upwards while negative height values scroll downwards.
oBoundingBox (Optional)
Type: Usual
The bounding box representing the rectangular window area, in canvas coordinates. If omitted, the default is the canvas area of the screen.
lClip (Optional)
Type: Usual
Indicates whether to clip the rectangular area when scrolled. TRUE clips the area; FALSE does not. If omitted, the default is TRUE.

Return Value

Type: Usual
Remarks
The clip region is an area that can receive output from the system.
See Also