SftMask/OCX 6.5

SftMask.InvokingCalculator Event

Softel vdm, Inc.

A key is pressed which is about to invoke the popup calculator.

Syntax       

VB.NET

Private Sub object_InvokingCalculator(ByVal sender As Object, ByVal e As EventArgumentType) Handles object.InvokingCalculator

VB

Private Sub object_InvokingCalculator(KeyAscii As Integer)

C#.NET

void object_InvokingCalculator(object sender, EventArgumentType e);

VC++

void OnInvokingCalculatorobject(short* KeyAscii);

C

HRESULT OnInvokingCalculatorobject(short* KeyAscii);

Delphi

procedure objectInvokingCalculator(Sender: TObject; var KeyAscii : Smallint);

object

A SftMask object.

KeyAscii

The key pressed by the user which is invoking the popup calculator.

Comments

The InvokingCalculator event occurs when a key is pressed which is about to invoke the popup calculator.

The popup calculator is about to be displayed, because the user pressed the key KeyAscii.

KeyAscii can be set to 0 to prevent the popup calculator from appearing.

This event should not be used to modify properties of the Masked Edit control, nor should its methods be called.


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