Just a quick question about TMemo components and how I can align text in the memo. Right I will start at the beginning....
If I have a long line of text that I want to add to a TMemo and I have word wrap on, how can I format the memo so that the second line is indented a set amount of characters. Okay that sounds easy doesn't it. But there is more. If I have for example the following set of characters at the start of the line with no preceding spaces and 2 spaces after the 1000
eg 500 - 1000+' '+'The text starts here'
The second line of text needs to start underneath 'The on the first line. I have tried using #161 for the length of the initial string but it ends up being about 5 characters short. There is obviously some width difference between a space and a normal character so what is the answer ??
I have also tried adding to the second line a string such as ' ' to whatever the length of 500 - 1000+2spaces is, but it always is too short. Anyone have a clue on this one??
Need a quick answer so will offer some good points.