Online Documentation for Advanced Query Builder for RAD Studio VCL

OnAddRemoveTable event


Applies to

TCustomQueryBuilder component

 

Declaration

type

  TQBAction = (qbaAdd, qbaRemove);

  TAddRemoveTableEvent = procedure(Sender: TObject; Table: TQBTable; Action: TQBAction; var Accept: Boolean); of object;

 

property OnAddRemoveTable: TAddRemoveTableEvent;

 

Description

 

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

 


See also:

OnAddRemoveLink event