ScrollShortcutsEnabled Property

Example-VB Example-VC++

Returns or sets whether the object recognizes a set of accelerator keys for scrolling a displayed image provided horizontal and/or vertical scroll bars are present.

Available With

Ö Imaging for Windows Professional Edition V1.0, V1.1, and V2.0
Ö Imaging for Windows 95 and 98
Ö Imaging for Windows NT 4.0

Applies To

Image Edit control

Syntax

object.ScrollShortcutsEnabled[={True|False}]

Data Type

Boolean

Setting Description

True (default) Accelerator keys can be used to scroll an image
False Accelerator keys cannot be used

Remarks

If this property and the ScrollBars property are set to True, and the image extends beyond the object’s borders, end users can use accelerator keys to scroll the displayed image.

Under certain circumstances, it may be necessary to set the focus to the Image Edit control for the accelerator keys to function.

The following accelerator keys provide scrolling capabilities:

Accelerator Key Description

Page Down Scrolls the image downward by one full screen
Page Up Scrolls the image upward by one full screen
Ctrl + Page Down Scrolls the image to the right by one full screen
Ctrl + Page Up Scrolls the image to the left by one full screen
Right Arrow Scrolls the image to the right by 4 pixels
Left Arrow Scrolls the image to the left by 4 pixels
Up Arrow Scrolls the image upward by 4 pixels
Down Arrow Scrolls the image downward by 4 pixels