Hide

SftMask/OCX 7.0 - ActiveX Masked Edit Control

Display
Print

.NET Event Types

The syntax for events may list an event argument typically called e, which uses a type specific to the event shown as <font color="#0000D0"> <span id="VBNET4"> EventArgumentType</span></font>. This type is defined for the event and all event-specific parameters are passed as members of this class.

This class is not defined elsewhere and is created by Visual Studio .NET when the ActiveX control is added to the Toolbox and is defined just for use with .NET. Other languages do not make use of these classes and these are not listed in this documentation. The syntax reference uses <font color="#0000D0"> EventArgumentType</font> as a place-holder for the actual type name.

Sample Event Syntax

VB.NETPrivate Sub object_KeyDownEvent(ByVal sender As Object, ByVal e As EventArgumentType) Handles object.KeyDownEvent
C#.NETvoid object_KeyDownEvent(object sender, EventArgumentType e);

Arguments

e.keyCode

e.shift

The arguments of each event are defined as members of the e object. The original parameter name as documented in the reference section is modified by .NET to start with a lowercase letter (even if the control defines uppercase argument names).


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