API:FireDAC.Comp.Client.TFDCommand.OnCommandChanged

De RAD Studio API Documentation

Delphi

property OnCommandChanged: TNotifyEvent read FOnCommandChanged write FOnCommandChanged;

C++

__property OnCommandChanged;

Propriétés

Type Visibilité  Source Unité  Parent
event published
FireDAC.Comp.Client.pas
FireDAC.Comp.Client.hpp
FireDAC.Comp.Client TFDCommand

Description

L'événement qui se déclenche après le changement de CommandText. {{#multireplace:FireDAC.Comp.Client.TFDCommand.OnCommandChanged|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} hérite de {{#multireplace:FireDAC.Comp.Client.TFDCustomCommand.OnCommandChanged|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. Tout le contenu en-dessous de cette ligne se réfère à {{#multireplace:FireDAC.Comp.Client.TFDCustomCommand.OnCommandChanged|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.

L'événement qui se déclenche après le changement de CommandText.

L'événement OnCommandChanged se déclenche après le changement de CommandText.

Exemple

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

Voir aussi