Hide

SftBox/OCX 5.0 - Combo Box 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 EventArgumentType. 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 EventArgumentType as a place-holder for the actual type name.

Sample Event Syntax

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

Arguments

e.part

e.areaType

e.itemIndex

e.colNum

e.button

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.