Hide

SftDirectory 3.5 - ActiveX File/Folder Control

Display
Print

SftDirectory.KeyUp Event

A key is released.

Syntax

VB.NETPrivate Sub object_KeyUpEvent(ByVal sender As Object, ByVal e As EventArgumentType) Handles object.KeyUpEvent
VBPrivate Sub object_KeyUp(KeyCode As Integer, ByVal Shift As Integer)
C#.NETvoid object_KeyUpEvent(object sender, EventArgumentType e);
VC++void OnKeyUpobject(short* KeyCode, short Shift);
CHRESULT OnKeyUpobject(short* KeyCode, short Shift);

object

A SftDirectory object.

KeyCode

Describes the virtual key that was released. See your development environment documentation for available key code constants.

Shift

Describes the state of the SHIFT, CONTROL and ALT keys. A bit is set if the key is down. The Shift argument is a bit field with bits corresponding to the SHIFT, CONTROL and ALT keys. It indicates the state of these keys. Some, all, or none of the bits can be set, indicating which of the keys are pressed.

ShiftValueDescription
constSftControlShiftMask1The SHIFT key is down.
constSftControlCtrlMask2The CONTROL key is down.
constSftControlAltMask4The ALT key is down.

Comments

The KeyUp event occurs when a key is released.

The KeyUp event is never generated for the TAB key.

To interpret keyboard characters (ANSI characters) use the KeyPress event.

The key typed by the user can be suppressed by setting KeyCode to 0.

See Also SftDirectory Object | Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.