Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - Report Control Scrolling
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Report Control Scrolling

 Post Reply Post Reply
Author
Message
minimum fuss View Drop Down
Newbie
Newbie


Joined: 25 October 2007
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote minimum fuss Quote  Post ReplyReply Direct Link To This Post Topic: Report Control Scrolling
    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.
Back to Top
sserge View Drop Down
Moderator Group
Moderator Group


Joined: 01 December 2004
Status: Offline
Points: 1297
Post Options Post Options   Thanks (0) Thanks(0)   Quote sserge Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
minimum fuss View Drop Down
Newbie
Newbie


Joined: 25 October 2007
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote minimum fuss Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.219 seconds.