| View previous topic :: View next topic |
| Author |
Message |
St Active Member

Joined: 08 Sep 2005 Posts: 8 Location: Brno, Czech Republic
|
Posted: 4 Days ago Post subject: Scrolling TPrintPreview |
|
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 |
|
|
|
|
|
 |
Kambiz Administrator


Joined: 07 Mar 2003 Posts: 1500 Location: Tehran, Iran
|
Posted: 3 Days ago Post subject: |
|
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. |
_________________ Kambiz
 |
|
|
|
 |
St Active Member

Joined: 08 Sep 2005 Posts: 8 Location: Brno, Czech Republic
|
Posted: 3 Days ago Post subject: |
|
Thak you very much. |
|
|
|
|
|
 |
|