TStringList.Values RTTI function isn't working
Hi,
I am trying the 17.02 evaluation on Delphi 10.1 Berlin.
I try to run this script in ReportBuilder:
procedure GlobalOnCreate;
var S: TStringList;
begin
S := TStringList.Create;
S.Values['Item1'] := '1';
S.Values['Item2'] := '2';
S.Values['Item3'] := '3';
ShowMessage(S.Text);
S.Free;
end;
S.Text always shows 'Item1' only. The expected value shall be:
Item1=1
Item2=2
Item3=3
--
Best regards,
Chau Chee Yang
I am trying the 17.02 evaluation on Delphi 10.1 Berlin.
I try to run this script in ReportBuilder:
procedure GlobalOnCreate;
var S: TStringList;
begin
S := TStringList.Create;
S.Values['Item1'] := '1';
S.Values['Item2'] := '2';
S.Values['Item3'] := '3';
ShowMessage(S.Text);
S.Free;
end;
S.Text always shows 'Item1' only. The expected value shall be:
Item1=1
Item2=2
Item3=3
--
Best regards,
Chau Chee Yang
This discussion has been closed.
Comments
I emailed you a patch for RB 17.02 that resolves this issue. Registered RB
17.02 customers can email support@ and request the patch. This issue is only
with Delphi 10.1 Berlin, which require some mods to the RAP RTTI support for
TStringList/TStrings
Best regards,
-
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com