Vcl.DBCtrls.TDBLookupComboBox.OnDropDown

De RAD Studio API Documentation

Delphi

property OnDropDown: TNotifyEvent read FOnDropDown write FOnDropDown;

C++

__property OnDropDown;

Propriétés

Type Visibilité  Source Unité  Parent
event published
Vcl.DBCtrls.pas
Vcl.DBCtrls.hpp
Vcl.DBCtrls TDBLookupComboBox

Description

Se produit immédiatement après l'ouverture de la liste de recherche. {{#multireplace:Vcl.DBCtrls.TDBLookupComboBox.OnDropDown|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} hérite de {{#multireplace:Vcl.DBCtrls.TCustomDBLookupComboBox.OnDropDown|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:Vcl.DBCtrls.TCustomDBLookupComboBox.OnDropDown|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.

Se produit immédiatement après l'ouverture de la liste de recherche.

Ecrivez un gestionnaire d'événements OnDropDown pour exécuter des actions particulières avant que la liste de recherche ne soit affichée à l'utilisateur. La liste peut être ouverte par l'utilisateur ou en appelant la méthode DropDown.

Pour un TDBLookupComboBox, le code doit ressembler à ceci :

procedure TForm1.DBLookupComboBox1DropDown(Sender: TObject);
begin
  StatusBar1.SimpleText := '';
end;


Voir aussi