FireDAC.Comp.Client.TFDCustomCommand.OnCommandChanged
[–] Properties | |
---|---|
Type: event | |
Visibility: public | |
Source: FireDAC.Comp.Client.pas FireDAC.Comp.Client.hpp
| |
Unit: FireDAC.Comp.Client | |
Parent: TFDCustomCommand |
Delphi
property OnCommandChanged: TNotifyEvent read FOnCommandChanged write FOnCommandChanged;
C++
__property System::Classes::TNotifyEvent OnCommandChanged = {read=FOnCommandChanged, write=FOnCommandChanged};
Description
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;