Back to Devexpress

TdxTokenEditTokenClickEvent Type

vcl-dxtokenedit-b0a326e6.md

latest1.3 KB
Original Source

TdxTokenEditTokenClickEvent Type

The procedural type for token box click handlers.

Declaration

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

Parameters

NameTypeDescription
SenderTObject

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

dxTokenEdit Unit