Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - Report Control assert by moving a group item
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Report Control assert by moving a group item

 Post Reply Post Reply
Author
Message
cluster View Drop Down
Groupie
Groupie


Joined: 22 January 2015
Status: Offline
Points: 91
Post Options Post Options   Thanks (0) Thanks(0)   Quote cluster Quote  Post ReplyReply Direct Link To This Post Topic: Report Control assert by moving a group item
    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
Back to Top
cluster View Drop Down
Groupie
Groupie


Joined: 22 January 2015
Status: Offline
Points: 91
Post Options Post Options   Thanks (0) Thanks(0)   Quote cluster Quote  Post ReplyReply Direct Link To This Post Posted: 13 January 2017 at 10:23am
Back to Top
rzs View Drop Down
Newbie
Newbie
Avatar

Joined: 03 February 2017
Location: Müllheim
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote rzs Quote  Post ReplyReply Direct Link To This Post 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
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.141 seconds.