Order and save right now!
20% off with the 729824315 dicscount code for Ultimate Pack and any another product for Delphi from Greatis Programming! |
⤷ Scroll Memo by page
Use SendMessage function and WM_VSCROLL message with SB_PAGEDOWN or SB_PAGEUP parameters.
procedure TForm1.Button2Click(Sender: TObject);
begin
SendMessage(Memo1.Handle, WM_VSCROLL, SB_PAGEUP, 0);
end;
procedure TForm1.Button1Click(Sender: TObject);
begin
SendMessage(Memo1.Handle, WM_VSCROLL, SB_PAGEDOWN, 0);
end;
-
More for developers