RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDBLookupComboBox.OnDropDown Event

Occurs immediately before the lookup list is opened.

Pascal
property OnDropDown: TNotifyEvent;
C++
__property TNotifyEvent OnDropDown;

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

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

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!