Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - Detecting whether a Row is visible
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Detecting whether a Row is visible

 Post Reply Post Reply
Author
Message
Shawshank View Drop Down
Senior Member
Senior Member


Joined: 16 October 2005
Status: Offline
Points: 117
Post Options Post Options   Thanks (0) Thanks(0)   Quote Shawshank Quote  Post ReplyReply Direct Link To This Post Topic: Detecting whether a Row is visible
    Posted: 27 April 2006 at 10:30pm
I have a ReportControl with 3300 records. I only want to update the rows that are visible. I see no property to determine whether a Row or Record is visible. Is this possible? There is a EnsureVisible property but no IsVisible property. Tell me it anit so.
Back to Top
Shawshank View Drop Down
Senior Member
Senior Member


Joined: 16 October 2005
Status: Offline
Points: 117
Post Options Post Options   Thanks (0) Thanks(0)   Quote Shawshank Quote  Post ReplyReply Direct Link To This Post Posted: 28 April 2006 at 1:22pm
I ended up using GetItemRect as a means for determing wether or not a Row is visible. Is this the proper method to use?
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: 28 April 2006 at 2:35pm
Actually, looks like it would be better for you to use Virtual mode -- there you'll show and update only visible rows.

In case with regular records collection you've choosen a proper method.

--
WBR,
Serge
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.063 seconds.