Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
int LNumber;
LNumber = SendMessage(Memo1->Handle, EM_LINEFROMCHAR, -1, 0);
ShowMessage(LineNumber);
int xPos, yPos;
xPos = Memo1->CaretPos.x;
yPos = Memo1->CaretPos.y;
void __fastcall TMyForm::ScrollCaret(TMemo *ScrollMemoSender)
{
//sets cursor to end of specified TCustomMemo:
ScrollMemoSender->SelStart=ScrollMemoSender->Text.Length();
//scrolls the specified TCustomMemo (one) last line:
SendMessage(ScrollMemoSender->Handle, EM_SCROLLCARET,0,0);
}
TMemo *CaretSender; //TRichEdit *CaretSender if You wish so
CaretSender->Text = CaretSender->Text+MyNewString;
// (maybe You have to add "\r\n", if needed)
ScrollCaret(CaretSender);
"CaretSender->Text += MyNewString;"