Skip to main content

TdxTokenEditTokenClickEvent Type

The procedural type for token box click handlers.

Declaration

TdxTokenEditTokenClickEvent = procedure(Sender: TObject; const ATokenText: string; AToken: TdxTokenEditToken) of object;

Parameters

Name Type Description
Sender TObject

The token editor that raises the event.

ATokenText string

The clicked token’s ID text.

AToken TdxTokenEditToken

The target token. This parameter returns nil (in Delphi) or nullptr (in C++Builder) if no token in the editor’s token collection contains the ID text string that matches the ATokenText parameter value.

Remarks

The token editor’s Properties.OnTokenClick and Properties.OnTokenGlyphClick events reference the TdxTokenEditTokenClickEvent type.

See Also