TEventUnsetMode Enumeration
Specifies what happens to a Delphi event when a script-assigned handler is removed.
Remarks
Applied when calling UnsetEvent or when assigning empty string from script (e.g., MyButton.OnClick := '').
euReplaceNil: the event is assigned an empty script routine.
euOriginalEvent: the original Delphi event handler is restored.
euClearEvent: the event is set to nil.
euPreviousEvent: the previously set event handler is restored.
Syntax
Unit: atScript
Members
| Name | Value | Description |
|---|---|---|
| euReplaceNil | 0 | |
| euOriginalEvent | 1 | |
| euClearEvent | 2 | |
| euPreviousEvent | 3 |