LucieLastic
Programmer
hi All
I read a text file and load it in to a control for viewing. I need to jump to the line which is of interest to the user but don't know how to do it.
TMemo doesn't seem to have anything. I'm currently trying with a TRichEdit and I set the position using SelStart and SelLength but although the cursor is on the correct line, it doesn't actually jump down to the line so the user can see the cursor.
Any ideas? I'm basically wanting to write a file editor type thing so the user is set to the correct position in the file, they add their appropriate lines and it saves. But I'm stuck.
Any help appreciated,
Lou
www.radbmx.co.uk
I read a text file and load it in to a control for viewing. I need to jump to the line which is of interest to the user but don't know how to do it.
TMemo doesn't seem to have anything. I'm currently trying with a TRichEdit and I set the position using SelStart and SelLength but although the cursor is on the correct line, it doesn't actually jump down to the line so the user can see the cursor.
Any ideas? I'm basically wanting to write a file editor type thing so the user is set to the correct position in the file, they add their appropriate lines and it saves. But I'm stuck.
Any help appreciated,
Lou
www.radbmx.co.uk