I have two memos on a form. Memo1 has a string like this.....
Thi[val1]s is a str[val2]ing".
I need it to end up in memo2 like this....
val1 val2 // lineout1
This is a string // lineout2
I can accomplish this now if I use a fixed width font like courier new. If I use a font such as ariel, lineout1 and lineout2 do not align properly. I can figure the pixel width of the string using a label and this..... w:=Label1.Canvas.Textwidth(Memo1.Lines); ... my problem is figuring out how to insert the lineout 1 chars in memo2 at the pixel from memo1. Does this make sense?
Can anyone help?
Thanks in advance,