EnableKeyboard property (ILEADRasterImgList)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

VARIANT_BOOL EnableKeyboard

Overview

Refer to Using the Image List Control.

Remarks

(Persistent property, available at design time) Enables or disables the ImageList control's automatic processing of the keyboard.

Setting

Meaning

TRUE

ImageList Control will process the keyboard

FALSE

ImageList Control will not process the keyboard

When automatic keyboard processing is enabled, the ImageList Control will process the following keys:

Key

Event

PageUp

 

Up Arrow

 

Left Arrow

scroll up/left one item (depends on scroll style)

PageDown

 

Down Arrow

 

Right Arrow

scroll down/right one item (depends on scroll style)

Ctrl + PageUp

 

Ctrl + Up

 

Ctlr + Left

 

Home

scroll up/left to beginning of list (depends on scroll style)

Ctrl + PageDown

 

Ctrl + Down

 

Ctlr + Right

 

End

scroll up/left to end of list (depends on scroll style)

 

Note:

If the setting for AllowSelection is not IMGLST_ALLOWSELECTION_NONE, then the selected item will move up, down, left, or right, depending on the key(s) being processed. If AllowSelection is set to IMGLST_ALLOWSELECTION_MULTI, multiple items can be selected using the CTRL and/or SHIFT keys in conjunction with the keys listed above.

The default setting is True.

See Also

Elements:

ScrollStyle property, AllowSelection property

Topics:

Raster Images: Displaying Images