ValEdit: set DropDownCount of associated ComboBox to DropDownRows if ItemProp.EditStyle = esPickList.

git-svn-id: trunk@40372 -
This commit is contained in:
bart 2013-02-23 14:08:49 +00:00
parent 35b60c2c6c
commit 4952b8047a

View File

@ -967,6 +967,7 @@ begin
esPickList: begin
result := EditorByStyle(cbsPickList);
(result as TCustomComboBox).Items.Assign(ItemProp.PickList);
(result as TCustomComboBox).DropDownCount := DropDownRows;
//Style := csDropDown, default = csDropDownList;
end;
end;