FireDAC.Comp.Client.TFDCustomCommand.OnCommandChanged

提供:RAD Studio API Documentation

Delphi

property OnCommandChanged: TNotifyEvent read FOnCommandChanged write FOnCommandChanged;

C++

__property System::Classes::TNotifyEvent OnCommandChanged = {read=FOnCommandChanged, write=FOnCommandChanged};

プロパティ

種類 可視性 ソース ユニット
event public
FireDAC.Comp.Client.pas
FireDAC.Comp.Client.hpp
FireDAC.Comp.Client TFDCustomCommand


説明

CommandText が変更された後に発生するイベント。

OnCommandChanged イベントは、CommandText が変更された後に発生します。

procedure TForm1.ADCommand1CommandChanged(ASender: TObject);
begin
if ADCommand1.FindParam('ID') <> nil then
ADCommand1.FindParams('ID').AsInteger := 100;
end;

関連項目