IInputOnElementEventHandler.HandleInputOnElementEvent (METH)

METHOD HandleInputOnElementEvent : BOOL

This method will be called when an input on a visualization element was executed. The event is only triggered if any action is performed in the element. The following actions can be triggered: - Optical change in the element - e.g. selection changes - Change of an IEC variable by the element - Call a configured method - e.g. OnMouseDown

OnMouseEnter and OnMouseLeave do not trigger this event.

The event is triggered on an area in the element if this area can cause a change.

At least one event is triggered by any VisuEnumInputInputOnElementType. It can also happen that several different VisuEnumInputOnElementType events are triggered by one input. e.g. sometimes only VisuEnumInputOnElementType.MouseDown, sometimes only VisuEnumInputOnElementType.MouseUp, sometimes both events VisuEnumInputOnElementType.MouseDown and VisuEnumInputOnElementType.MouseUp.

RETURN: TRUE - When the handler has handled this event and it should not be handled by someone else FALSE - When the event is not handled by this handler

InOut:

Scope

Name

Type

Return

HandleInputOnElementEvent

BOOL

Input

event

VisuStructInputOnElementEvent