Modeling a Visual Basic event in a model (Visual Basic code)
A Visual Basic event is modeled through a Modeler Operation.
To model a Visual Basic event in a model:
1. In Modeler, right-click the Class or Interface that models the element that is to own the event, point to New, and then click Operation.
2. Type the name of the event, and then press the Enter key.
3. Right-click the Operation, point to > , and then click VB Operation.
4. Open the Operation's property pages.
5. On the VB Operation tab, set the value of the VB Event tag definition to True.
6. Set the values of standard properties and Tag Definitions (applied by the «VB Operation» stereotype) as required.
For more information about how ACS generates the values of an Operation's standard properties and Tag Definitions, see the related links below.
7. If you want to specify a default value for the event, on the Data Type tab, in the Default box, type the default value.