mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-06 12:58:13 +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
|
||||
ItemIndex := I
|
||||
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;
|
||||
inherited;
|
||||
inherited;
|
||||
end;
|
||||
end;
|
||||
|
||||
{------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user