Print Page | Close Window

Report Control assert by moving a group item

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=23244
Printed Date: 29 August 2025 at 7:35pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Report Control assert by moving a group item
Posted By: cluster
Subject: Report Control assert by moving a group item
Date Posted: 13 January 2017 at 9:57am
Hi,

if I remove a group item by moving over a row the report control crashed.
You can reproduce this in the ReportSample.
The debugger stopped at:

846: ASSERT(pRow->IsVisible());            // Row must be visible

in the function
841: BOOL CXTPReportSection::EnsureVisible(CDC *pDC, CXTPReportRow *pRow)



Data:
Win 7
Visual Studio 2010
ToolKit 17.3



Replies:
Posted By: cluster
Date Posted: 13 January 2017 at 10:23am


Posted By: rzs
Date Posted: 03 February 2017 at 5:09am
Hi,

We had the same problem in our application but not in the ReportControl Sample. A workaround is not to allow the removal of columns.
GetReportHeader()->AllowColumnRemove(FALSE);

Windows 8.1
Toolkit Pro 17.2



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