Stretchwikster I have managed to sort out my problem by doing the same search you carried out.
The following code sorted out the problem.
procedure TCirculationForm.AddNotesBtnClick(Sender: TObject);
begin
NotesEdit.Lines.Add(DateToStr(Now) + ':');
RichEdit_MoveTo(notesedit,notesedit.Lines.Count -1,11);
Application.ProcessMessages;
notesedit.SetFocus;
end;
Thank you for your help
Mark
procedure TCirculationForm.RichEdit_MoveTo(RichEdit: TRichEdit; LineNumber, CharNumber: Word);
begin
notesedit.SelStart := notesedit.Perform(EM_LINEINDEX, LineNumber, 0) + CharNumber;
end;