mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-21 15:48:28 +02:00
add loud complaint to LCL, so we fix the combobox issue soon
git-svn-id: trunk@8198 -
This commit is contained in:
parent
555edd3371
commit
d672ec111b
@ -723,8 +723,13 @@ begin
|
|||||||
if I >= 0 then
|
if I >= 0 then
|
||||||
ItemIndex := I
|
ItemIndex := I
|
||||||
else if (not (csLoading in ComponentState)) then
|
else if (not (csLoading in ComponentState)) then
|
||||||
|
begin
|
||||||
|
{$message warn TCustomComboBox.Editable to be implemented soon!}
|
||||||
|
if Style in [csOwnerDrawFixed, csOwnerDrawVariable] then
|
||||||
|
raise Exception.Create('Setting .Text on owner drawn TComboBox does not make sense!');
|
||||||
FItemIndex := -1;
|
FItemIndex := -1;
|
||||||
inherited;
|
inherited;
|
||||||
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
{------------------------------------------------------------------------------
|
{------------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user