comp • gb • object • canraise

Object.CanRaise (gb)

Static Function CanRaise ( Object As Object, Event As String ) As Boolean

Since 3.3

Return if an object can raise a specific event, i.e. if the parent of the object, or any observer, has an event handler for that event.

  • Object is the object reference.

  • Event is the name of the event.