Vcl.DBLookup.TDBLookupCombo.OnDropDown

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnDropDown: TNotifyEvent read FOnDropDown write FOnDropDown;

C++

__property System::Classes::TNotifyEvent OnDropDown = {read=FOnDropDown, write=FOnDropDown};

Properties

Type Visibility Source Unit Parent
event published
Vcl.DbLookup.pas
Vcl.DBLookup.hpp
Vcl.DBLookup TDBLookupCombo

Description

Occurs immediately before the lookup combo list is opened.

Write an OnDropDown event handler to take specific action before the lookup combo list is displayed to the user. The list can be opened by the user or by calling the DropDown method.



procedure TForm1.DBLookupCombo1DropDown(Sender: TObject);
begin
Label1.Caption := 'Some text';
end;



See Also