View Full Version : clear a dblookupcombo after selecting
whenever I select a item in a dblookupcombobox i cant select nothing (its readonly)
can anyone help me??
To clear a DBLookupComboBox, you should call the "Clear" method of the data field, associated with the control. As there is no way to do this from the control itself, you may add a button / speed button next to the control:
procedure TForm1.SpeedButton1Click (...)
begin
Table1Field1.Clear;
end;
Here I assume that you have a Table component with a field named Field1 and that DataField property of your DBLookupComboBox component is attached to it.
Have fun,
Nikolay
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.