MG: improved TComboBox.SetItemIndex

git-svn-id: trunk@2978 -
This commit is contained in:
lazarus 2002-08-18 08:56:43 +00:00
parent 76ef25f6a6
commit 5c153c68ce

View File

@ -2748,6 +2748,7 @@ begin
SetHistoryText;
end;
FetchFocus;
Key:=VK_UNKNOWN;
end else if Key=VK_UP then begin
if (CurIndex<0)
or (HistoryList[CurIndex]<>CurText) then
@ -2762,6 +2763,7 @@ begin
SetHistoryText;
end;
FetchFocus;
Key:=VK_UNKNOWN;
end;
end;