Print Page | Close Window

steping through rows by code

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=3832
Printed Date: 26 June 2024 at 6:04am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: steping through rows by code
Posted By: sfn555
Subject: steping through rows by code
Date Posted: 22 March 2006 at 3:45am
Hi,

using the arrowkeys I can move from row to row despite
the group-rows. I want to do the same by code and found
NextSiblingRow but this, correctly, stops on the last row
of a group. Is there another way to get always the next
row starting by the FocusedRow until the end of all rows?

Thanks!



Replies:
Posted By: sserge
Date Posted: 22 March 2006 at 7:02am
See methods MoveUp, MovePageDown, MovePageUp, MoveFirst, MoveLast of the ReportControl.

Or class CXTPReportNavigator for version 10.0

--
WBR,
Serge


Posted By: sfn555
Date Posted: 23 March 2006 at 9:40am
I'm using Codejock.ReportControl.v9.80.ocx.
There are no such methods .




Posted By: sserge
Date Posted: 23 March 2006 at 10:06am
hmm... good occasion to upgrade?  

You can also try something like a following:

ReportControl.SetFocusedRow(
        ReportControl.Rows.GetNext(
            ReportControl.GetFocusedRow(),
            ReportControl.SkipGroupsFocus),
        bSelectBlock,
        bIgnoreSelection);

--
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