Scrolling TPrintPreview

Please post bug reports, feature requests, or any question regarding the DELPHI AREA products here.

Scrolling TPrintPreview

Postby St » June 9th, 2008, 2:09 pm

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
St
Active Member
Active Member
 
Posts: 8
Joined: September 8th, 2005, 9:32 am
Location: Brno, Czech Republic

Postby Kambiz » June 9th, 2008, 9:58 pm

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
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2408
Joined: March 7th, 2003, 7:10 pm

Postby St » June 10th, 2008, 5:38 am

Thak you very much.
St
Active Member
Active Member
 
Posts: 8
Joined: September 8th, 2005, 9:32 am
Location: Brno, Czech Republic


Return to DELPHI AREA Products

Who is online

Users browsing this forum: No registered users and 1 guest

cron