Vcl.DBLookup.TDBLookupCombo.OnDropDown
Delphi
property OnDropDown: TNotifyEvent read FOnDropDown write FOnDropDown;
C++
__property System::Classes::TNotifyEvent OnDropDown = {read=FOnDropDown, write=FOnDropDown};
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
event | published | Vcl.DbLookup.pas Vcl.DBLookup.hpp |
Vcl.DBLookup | TDBLookupCombo |
Description
Se produit immédiatement après l'ouverture de la liste à options de références.
Ecrivez un gestionnaire d'événement OnDropDown pour exécuter des actions particulières avant que la liste à options de références ne soit affichée à l'utilisateur. La liste peut être ouverte par l'utilisateur ou en appelant la méthode DropDown.
procedure TForm1.DBLookupCombo1DropDown(Sender: TObject);
begin
Label1.Caption := 'Du texte';
end;