Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

WithEvents Property

Microsoft Dynamics Nav 2009

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>."

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.