Print Page | Close Window

Report Control Scrolling

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=8525
Printed Date: 20 September 2024 at 7:33am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Report Control Scrolling
Posted By: minimum fuss
Subject: Report Control Scrolling
Date Posted: 25 October 2007 at 6:56am
Is there any way I can programmatically detect when a user is scrolling the report control using the scroll bars? I can't see any events that are triggered.



Replies:
Posted By: sserge
Date Posted: 25 October 2007 at 4:05pm
Unfortunately, no way for now. Use some workaround like catching BeforeDrawRow event which would be also fired a number of times on each scroll position change.

--
WBR,
Serge


Posted By: minimum fuss
Date Posted: 26 October 2007 at 5:55am
Whilst the BeforeDrawRow event is fired during scrolling, it is also fired when simply editing an Item in the Report Control, meaning any methods I associate with it will be incorrectly triggered during such times  
 
The only work around I can see is to check the Top Row Index each time the event is triggered, but for a Report Control with a large collection of Items, this will have considerably bad effect on the performance.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net