mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-07 16:38:02 +02:00
LCL: Fix unchangeable Combobox.DropDownCount when Style = csDropDownList. Issue #37670.
git-svn-id: trunk@63856 -
This commit is contained in:
parent
087020bee2
commit
afa0f73049
@ -1182,6 +1182,9 @@ begin
|
||||
begin
|
||||
//Use CB_SETMINVISIBLE in vista or above
|
||||
SendMessage(ACustomComboBox.Handle, CB_SETMINVISIBLE, NewCount, 0);
|
||||
//Issue #37670: Fix DropDownCount not changing when Style=csDropDownList
|
||||
if not (ACustomComboBox.Style in [csSimple, csDropDown, csOwnerDrawEditableFixed]) then
|
||||
RecreateWnd(ACustomCombobox);
|
||||
end
|
||||
else
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user