This is fragment from Delphi help system but I believe in Builder it works on the same
//---------------
The following example demonstrates the use of the Perform method to send a windows message. The EM_SCROLLCARET message scrolls the caret in the rich edit into view. The caret position is set to the contents of the mask edit prior to calling Perform.
procedure TForm1.Button1Click(Sender
begin
with RichEdit1 do
Begin
SelStart := StrToInt(MaskEdit1.Text);
RichEdit1.Perform(EM_SCROL
end;
end;
//----------------
Main Topics
Browse All Topics





by: MasonokPosted on 2001-11-28 at 21:47:42ID: 6658453
Greetings!
LLCARET, 0, 0);
RichEdit1->Perform(EM_SCRO
I think it may help you somehow. Check how it works your help system.