earlrainer
Programmer
Hi,
I have a memo box on the form (you can also consider a rich edit box).
I want that when the user types in the memo box , that automatically a blank line is added after every line i.e it gives an effect of a double spaced letter.
I wrote on key down event that if key = 13 then memo1.lines.add('') but this adds a line at the bottom of the memo and does not allow me to enter a carriage retun in between of the memo box
how can i program this ?
I have a memo box on the form (you can also consider a rich edit box).
I want that when the user types in the memo box , that automatically a blank line is added after every line i.e it gives an effect of a double spaced letter.
I wrote on key down event that if key = 13 then memo1.lines.add('') but this adds a line at the bottom of the memo and does not allow me to enter a carriage retun in between of the memo box
how can i program this ?