WithEvents Property

Sets whether you want C/SIDE to receive events from a component that it controls. A component can be an automation server or a custom control (OCX).

Global variables of the type Automation Data Type.

When you declare a global variable of the type Automation, you can specify whether you want to receive events. When you set the WithEvents property for the variable to Yes, this automatically generates AL triggers for the events that the component provides. An AL trigger name consists of the name of the automation variable followed by "::<Event name>."

Community Additions