SftMask/OCX 6.5

SftMask.CalculatorKeyUp Event

Softel vdm, Inc.

A key is released while the popup calculator is active.

Syntax       

VB.NET

Private Sub object_CalculatorKeyUp(ByVal sender As Object, ByVal e As EventArgumentType) Handles object.CalculatorKeyUp

VB

Private Sub object_CalculatorKeyUp(KeyCode As Integer, ByVal Shift As Integer)

C#.NET

void object_CalculatorKeyUp(object sender, EventArgumentType e);

VC++

void OnCalculatorKeyUpobject(short* KeyCode, short Shift);

C

HRESULT OnCalculatorKeyUpobject(short* KeyCode, short Shift);

Delphi

procedure objectCalculatorKeyUp(Sender: TObject; var KeyCode : Smallint; Shift : Smallint);

object

A SftMask 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.

Shift

Value

Description

constSftMaskShiftMask

1

The SHIFT key is down.

constSftMaskCtrlMask

2

The CONTROL key is down.

constSftMaskAltMask

4

The ALT key is down.

Comments

The CalculatorKeyUp event occurs when a key is released while the popup calculator is active.

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

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

This event should not be used to modify properties of the Masked Edit control, nor should its methods be called. This event is mainly intended to provide a mechanism to invoke online help.


Feedback / comments / error reports for this topic
© 2000, 2008 - Softel vdm, Inc. - www.softelvdm.com