That gives me the number of lines not the line I am currently on e.g.
 
line 1
line 2 < caret here
line 3
 
.Count = 3
line I am on = 2 (actually 1 as index is 0, 1, 2)
----- Original Message -----
Sent: Wednesday, July 19, 2000 01:36 PM
Subject: RE: [DUG]: Memo Lines

DBMemo.lines.count ??
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Eamon Reyn
Sent: Wednesday, July 19, 2000 1:33 PM
To: Multiple recipients of list delphi
Subject: [DUG]: Memo Lines

I need to figure out which line of A TDBMemo I'm on so I can insert a new line at that point is there something obvious I am missing here?
 
Eamon

Reply via email to