mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-06 18:24:26 +08:00
Show 16 instead of only 8 items in drop down menus of grids. Closes #90
This commit is contained in:
@ -837,6 +837,8 @@ begin
|
|||||||
FCombo.Parent := FParentForm;
|
FCombo.Parent := FParentForm;
|
||||||
FCombo.OnKeyDown := DoKeyDown;
|
FCombo.OnKeyDown := DoKeyDown;
|
||||||
FCombo.OnExit := DoEndEdit;
|
FCombo.OnExit := DoEndEdit;
|
||||||
|
// Show some more than the default 8 items
|
||||||
|
FCombo.DropDownCount := 16;
|
||||||
ValueList := TStringList.Create;
|
ValueList := TStringList.Create;
|
||||||
DisplayList := TStringList.Create;
|
DisplayList := TStringList.Create;
|
||||||
FMainControl := FCombo;
|
FMainControl := FCombo;
|
||||||
|
Reference in New Issue
Block a user