Print Page | Close Window

Detecting whether a Row is visible

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=4078
Printed Date: 30 April 2025 at 7:36am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Detecting whether a Row is visible
Posted By: Shawshank
Subject: Detecting whether a Row is visible
Date 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.



Replies:
Posted By: Shawshank
Date 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?


Posted By: sserge
Date 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



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