Method
IsEventImplemented
Description
Used to determine if a specific event has been implemented (has code) or not.
Usage
result = IsEventImplemented(eventName)
Part |
Type |
Description |
---|---|---|
result |
||
eventName |
The event whose implementation state is being determined. |
Notes
This method must be called from one of the events or methods of the same class.
It will return True whether the event was implemented by entering code directly into the event or if the event is being routed elsewhere via AddHandler.
Sample code
From the Opening event of a button to determine if the Pressed event is implemented:
If IsEventImplemented("Pressed") then
MessageBox("The Pressed event is implemented.")
End If
Compatibility
Project Types |
Console, Desktop, Web |
Operating Systems |
All |
See also
Introspection module.