Online Documentation for Advanced Query Builder for RAD Studio VCL

OnAddRemoveLink event


Applies to

TCustomQueryBuilder component

 

Declaration

type

  TQBAction = (qbaAdd, qbaRemove);

  TAddRemoveLinkEvent = procedure(Sender: TObject; Link: TQBLink; Action: TQBAction; var Accept: Boolean); of object;

 

property OnAddRemoveLink: TAddRemoveLinkEvent;

 

Description

 

The OnAddRemoveLink event takes place when a link is added/removed to/from the component work area. The Link parameter defines the properties of the link to add/remove. Action defines if the link is added or removed. Output parameter Accept allows you to forbid or permit action.

 


See also:

OnAddRemoveTable event