Table of Contents

TatCustomScripter.BuildEventHandlerName Method

Builds a conventional script routine name for an event handler on the given component.

Remarks

For example, if Instance is a button named Button1 and PropName is 'OnClick', the method returns 'Button1Click'.

Syntax

Unit: atScript

function TatCustomScripter.BuildEventHandlerName(Instance: TComponent; PropName: string): string;

Parameters

<-> Parameter Type Description
Instance TComponent
PropName string

See also