TatScripterEventBroker.GetAssignedRoutineName Method
Returns the name of script routine currently assigned to be the handler of the object's event.
Syntax
Unit: atScript
function TatScripterEventBroker.GetAssignedRoutineName(AInstance: TObject; APropName: string; AScripter: TatCustomScripter): string;
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| AInstance | TObject | the instance of the object which contains the event | |
| APropName | string | the name of the event. For example, 'OnClick' | |
| AScripter | TatCustomScripter | the scripter component which holds the routine assigned to the event If no script routine is assigned, the method returns an empty string. |