SetKeyboardAction method (ILEADOwnerAction)

Visual Basic example

Visual C++ example

 

Syntax

short SetKeyboardAction(MouseDirectionConstants Direction);

Overview

Refer to Using the Image Viewer

Remarks

(Medical Imaging Suite) Assigns a keystroke (Key and Modifier properties) to the action and a particular mouse movement.

The action must be activated inside a container before applying this method by calling ActivateAction method.

If this action is set to a keystroke combination that is already used by another action within the container this action will overwrite the old one. For example, if you set a keystroke combination for an owner action object in the container, and then set the same keystroke combination for a scale action object in the same container, the keystroke combination will cause a scale action within the container.

If the mouse or keyboard action associated with the owner action control is applied, the control will fire the related events KeyDown, KeyUp, MouseMove, MouseDown, MouseUp, or MouseWheel.

See Also

Elements:

Cursor Property, Change Property, CircularMouseMove Property, Use Property, SetMouseButtonAction Method, ActivateAction Method, Key Property, Modifier Property, SetAction Method, GetAction Method, GetKeyboardAction Method.

Topics:

Image Viewer: Owner Action