Board index » delphi » TMemo: Which lines am I on?
Nathalie
![]() Delphi Developer |
Sat, 17 Mar 2001 03:00:00 GMT
TMemo: Which lines am I on?
TMemo: Which line am I on?
Using a popup menu, I want to add text to a line in a TMemo. (I'm ------------------------------------------------------- The problem is that the user may not actually be on line #1. For fun I have also tried: ------------------------------------------------------- But of course this adds '<BR>' to the end of every line. Is there a way of reading JUST the line the user is presently on and Memo1.Lines[n] := Memo1.Lines[n]+'<BR>'; Much appreciated! |