.

Controller.EventEnable

Specifies whether event reporting for a specific controller event is enabled for the controller object.

Version History

Introduced in MPX 2.0.

Type

Boolean (read only)

Index

 
Index Type Description
Mpx.EventType The event whose enable state is to be accessed.

Common Exceptions

 
Error Occurs when...
Argument If the specified event is not a controller event.

Visual Basic

Syntax

Property EventEnable As Boolean(index As Mpx.EventType)

Sample Code

 
controller.EventEnable(Mpx.EventType.ControllerFan) = True


Sample Application

 

C#

Syntax

bool[Mpx.EventType] EventEnable;

Sample Code

 
controller.EventEnable[Mpx.EventType.ControllerFan] = true;

 

 

See Also

EventEnableAll
EventEnableNone

Enumerations
EventType

Overviews
Overview of MPX Controller Event

 

       Legal Notice  |  Tech Email  |  Feedback
      
Copyright ©
2001-2021 Motion Engineering