RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDBLookupComboBox.CloseUp Method

Closes an opened or "dropped-down" list.

Pascal
procedure CloseUp(Accept: Boolean); virtual;
C++
virtual __fastcall CloseUp(Boolean Accept);

Call CloseUp to programmatically close the list of the lookup combo box. The Accept parameter determines whether to modify the field value with the value that corresponds to the selected value in the lookup list.

DBLookupComboBox1.CloseUp(True);

 

DBLookupComboBox1->CloseUp(true);

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!