VBEvent Statement

The VBEvent statement specifies interface information for an event. This information includes the event name, event description, event notification ID, and parameter type. To describe the implementation as well as the interface of a promoted event, use the VBPromotedEvent statement. To describe an event that occurs as a result of attribute changes, use the VBAttribute or VBPromotedAttribute statement.

{ //VBEvent: name, description?, id, eventDataType?, featureFlag* }

name
Event name to be used in visual composition.

description
Optional feature description.

( "text description" | (resourceId, resourceDll) )

resourceId
Optional resource number of the descriptive text. If you specify a resource ID, you must also specify the resource DLL name.

resourceDll
Optional resource DLL name containing the descriptive text. You must specify the DLL name if you specify a resource ID. Do not include the .dll extension.

id
C++ public notification ID.

eventDataType
Optional event parameter type.

featureFlag
Optional feature flag.

( preferred | noWin | noOS2 | noAIX )

preferred
Specifies that the feature is preferred for the part. Preferred features appear in the part connection list.

noWin
Excludes the feature on Windows.

noOS2
Excludes the feature on OS/2.

noAIX
Excludes the feature on AIX.


Related procedures
Defining the Part Interface Using Part Information Statements

Related references
Visual Part Information Statements
Nonvisual Part Information Statements
Part Information Statement Descriptions
Part Information Statement Examples