Vcl.DBCtrls.TDBLookupComboBox.OnDropDown

De RAD Studio API Documentation
Aller à : navigation, rechercher

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.

Vcl.DBCtrls.TDBLookupComboBox.OnDropDown hérite de Vcl.DBCtrls.TCustomDBLookupComboBox.OnDropDown. Tout le contenu en-dessous de cette ligne se réfère à Vcl.DBCtrls.TCustomDBLookupComboBox.OnDropDown.

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