TdxTokenEditTokenCollectionChangingEvent Type
The type of all events that are raised prior to changes in the token editor‘s collection of tokens.
Declaration
TdxTokenEditTokenCollectionChangingEvent = procedure(Sender: TObject; const ATokenText: string; AToken: TdxTokenEditToken; var AAllow: Boolean) of object;
Parameters
Name | Type |
---|---|
Sender | TObject |
ATokenText | string |
AToken | TdxTokenEditToken |
AAllow | Boolean |
Remarks
The Sender parameter specifies the token editor in which the event occurs.
The AAllow parameter can be used to allow or forbid changes to the editor’s token collection.
The AToken and ATokenText parameters are used to address the added/removed token and its text ID within the token collection changing event handler, respectively.
The TdxTokenEditTokenCollectionChangingEvent type is referenced by the token editor’s Properties.OnTokenAdd and Properties.OnTokenDelete events.
See Also