Page 1 of 1

Scrolling TPrintPreview

PostPosted: June 9th, 2008, 2:09 pm
by St
Hi

I have form and PrintPreview component on in.
Is it possible to capture scrolling event of PrintPreview component (not the form scrolling) ?


Thanks a lot

PostPosted: June 9th, 2008, 9:58 pm
by Kambiz
You should capture WM_HSCROLL and WM_VSCROLL of the control.

To know how to capture windows messages of a control in Delphi, please look for WindowProc property of TControl on Delphi help.

PostPosted: June 10th, 2008, 5:38 am
by St
Thak you very much.