IEvent Interface
Definition
Delphi
type IEvent = interface(IInterface)
- Inheritance
-
IInterfaceIEvent
- Derived
Properties
| CanInvoke |
Returns True when the event will do anything because it is Enabled and contains any event handler. Otherwise returns False . |
| Enabled |
Gets the value indicates whether the multicast event is enabled, or sets the value to enable or disable the event. |
| OnChanged | |
| UseFreeNotification |
Specifies if the event internally tracks if the event handlers are implemented by a TComponent descendant and automatically unsubscribes those when the implementing component is being destroyed. |
Methods
| Add(TMethod) | |
| Clear |
Clears all event handlers. |
| GetCanInvoke | |
| GetEnabled | |
| GetOnChanged | |
| GetUseFreeNotification | |
| Remove(TMethod) | |
| RemoveAll(Pointer) |
Removes all event handlers which were registered by an instance. |
| SetEnabled(Boolean) | |
| SetOnChanged(TNotifyEvent) | |
| SetUseFreeNotification(Boolean) |