Home General

TStringList.Values RTTI function isn't working

edited July 2016 in General
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

Comments

  • edited July 2016
    Hi Chau Chee Yang,

    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
This discussion has been closed.