LCL: better debugging

git-svn-id: trunk@33155 -
This commit is contained in:
mattias 2011-10-29 20:03:17 +00:00
parent d2b00f076f
commit eec9a515ba

View File

@ -203,6 +203,8 @@ begin
end;
procedure TDBLookup.FetchLookupData;
var
s: String;
begin
if not Assigned(FControlItems) then
Exit;
@ -219,7 +221,8 @@ begin
if (FLookupCache and not FLookUpFieldIsCached) then
FLookupList.Add(FListLink.DataSet.FieldValues[FKeyFieldNames],
FListField.Value);
FControlItems.Add(FListField.AsString);
s:=FListField.AsString;
FControlItems.Add(s);
FListLink.DataSet.Next;
end;
finally