FireDAC.Comp.Client.TFDMetaInfoCommand.OnCommandChanged
Delphi
property OnCommandChanged: TNotifyEvent read FOnCommandChanged write FOnCommandChanged;
C++
__property OnCommandChanged;
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| event | published | FireDAC.Comp.Client.pas FireDAC.Comp.Client.hpp |
FireDAC.Comp.Client | TFDMetaInfoCommand |
Description
The event that fires after CommandText is changed. {{#multireplace:FireDAC.Comp.Client.TFDMetaInfoCommand.OnCommandChanged|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:FireDAC.Comp.Client.TFDCustomCommand.OnCommandChanged|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:FireDAC.Comp.Client.TFDCustomCommand.OnCommandChanged|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.
The event that fires after CommandText is changed.
The OnCommandChanged fires after CommandText is changed.
Example
procedure TForm1.ADCommand1CommandChanged(ASender: TObject);
begin
if ADCommand1.FindParam('ID') <> nil then
ADCommand1.FindParams('ID').AsInteger := 100;
end;