API:FireDAC.Comp.Client.TFDMetaInfoCommand.OnCommandChanged
| [–] Properties | |
|---|---|
| Type: event | |
| Visibility: published | |
| Source: FireDAC.Comp.Client.pas FireDAC.Comp.Client.hpp
| |
| Unit: FireDAC.Comp.Client | |
| Parent: TFDMetaInfoCommand | |
Delphi
property OnCommandChanged;
C++
__property OnCommandChanged;
Description
The event that fires after CommandText is changed.
FireDAC.Comp.Client.TFDMetaInfoCommand.OnCommandChanged inherits from FireDAC.Comp.Client.TFDCustomCommand.OnCommandChanged. All content below this line refers to FireDAC.Comp.Client.TFDCustomCommand.OnCommandChanged.
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;