mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-05 12:58:15 +02:00
object inspector: increase drop down limit of combobox
git-svn-id: trunk@17042 -
This commit is contained in:
parent
84f9c1b464
commit
1c96951044
@ -830,7 +830,8 @@ begin
|
||||
|
||||
// create sub components
|
||||
ValueEdit:=TEdit.Create(Self);
|
||||
with ValueEdit do begin
|
||||
with ValueEdit do
|
||||
begin
|
||||
Name:='ValueEdit';
|
||||
Visible:=false;
|
||||
Enabled:=false;
|
||||
@ -848,7 +849,8 @@ begin
|
||||
end;
|
||||
|
||||
ValueComboBox:=TComboBox.Create(Self);
|
||||
with ValueComboBox do begin
|
||||
with ValueComboBox do
|
||||
begin
|
||||
Name:='ValueComboBox';
|
||||
Sorted:=true;
|
||||
AutoSelect:=true;
|
||||
@ -857,6 +859,7 @@ begin
|
||||
Enabled:=false;
|
||||
AutoSize:=false;
|
||||
SetBounds(0,-30,Width,Height); // hidden
|
||||
DropDownCount:=20;
|
||||
Parent:=Self;
|
||||
OnMouseDown := @ValueControlMouseDown;
|
||||
OnMouseMove := @ValueControlMouseMove;
|
||||
@ -873,7 +876,8 @@ begin
|
||||
end;
|
||||
|
||||
ValueCheckBox:=TCheckBox.Create(Self);
|
||||
with ValueCheckBox do begin
|
||||
with ValueCheckBox do
|
||||
begin
|
||||
Name:='ValueCheckBox';
|
||||
Visible:=false;
|
||||
AutoSize:=false;
|
||||
@ -888,7 +892,8 @@ begin
|
||||
end;
|
||||
|
||||
ValueButton:=TSpeedButton.Create(Self);
|
||||
with ValueButton do begin
|
||||
with ValueButton do
|
||||
begin
|
||||
Name:='ValueButton';
|
||||
Visible:=false;
|
||||
Enabled:=false;
|
||||
|
Loading…
Reference in New Issue
Block a user