Icon View Incident Report

Minor Minor
Reported By: Ralf Bertoldi
Reported On: 9/28/2013
For: Version 1.02 Build 2
# 3942 TPersistentStorage Access by Index Not Working Properly

I built a small client side app and wanted to store some data. So, I tried it with the LocalStorage.

The documentation says it's possible to access the Items by name or index. But access by Index is always empty (?).

procedure TForm1.Form1Show(Sender: TObject);
var
 i:integer;
begin
 LocalStorage.Set('first', 'data1');
 LocalStorage.Set('sercond', 'data2');
 LocalStorage.Set('third', 'data3');

 //  working
 ShowMessage('first: '+Localstorage.Items['first']);

 // doesn't work.
 for i := 0 to LocalStorage.Count - 1 do  
   ShowMessage(inttostr(i)+': '+Localstorage.Items[i]);
   
end;



Resolution Resolution
Fixed Problem on 9/28/2013 in version 1.03 build 1


Products Affected Products Affected
Elevate Web Builder
Elevate Web Builder Trial

Image