mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-09 23:35:57 +02:00
ValEdit: set DropDownCount of associated ComboBox to DropDownRows if ItemProp.EditStyle = esPickList.
git-svn-id: trunk@40372 -
This commit is contained in:
parent
35b60c2c6c
commit
4952b8047a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user