TMemo and TStringList limits
Posted on 2001-08-24
I tried to load a HTML file into a TMemo and also into a TStringList. The HTML file was 43kb. When I loaded the fil into the TMemo, only about half the file was loaded and visible in the TMemo. When I loaded the file into a TStringList via LoadFromFile() I again was missing a sizeable portion of the file. When I analyzed the Capacity and Count properties after TStringList.LoadFromFile I had a Capacity of 288 and a Count of 200. And yet approx. 30% of the file was missing from the StringList.
Can anyone explain why this happens?