|  | 
| Detecting whether a Row is visible | 
| Post Reply   | 
| Author | |
| Shawshank   Senior Member   Joined: 16 October 2005 Status: Offline Points: 117 |  Post Options  Thanks(0)  Quote  Reply  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.
    | |
|  | |
| Shawshank   Senior Member   Joined: 16 October 2005 Status: Offline Points: 117 |  Post Options  Thanks(0)  Quote  Reply  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?
    | |
|  | |
| sserge   Moderator Group   Joined: 01 December 2004 Status: Offline Points: 1297 |  Post Options  Thanks(0)  Quote  Reply  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 | |
|  | |
| Post Reply   | |
| Tweet | 
| Forum Jump | Forum Permissions  You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |