16.3 Crash by Merged Items + Group Row |
Post Reply |
Author | |
Keeper
Newbie Joined: 25 November 2011 Status: Offline Points: 3 |
Post Options
Thanks(0)
Posted: 24 February 2014 at 7:44am |
The combination of the merged items with a grouping rows leads to a crash when displaying the tooltip.
Problem in the following source code portion: CRect CXTPReportRow::GetItemRect(CXTPReportRecordItem* pItem, BOOL bAsMerged) { ... int nTopmostRow = GetIndex(); while (0 <= nTopmostRow) { CXTPReportRow* pTopRow = pRows->GetAt(nTopmostRow - 1); if (NULL != pTopRow && pTopRow->IsVisible()) { if (pTopRow->GetRecord()->GetItem(pLeftmostColumn)->GetMergeItem() == pItem && pTopRow->GetRecord()->GetItem(pRightmostColumn)->GetMergeItem() == pItem) { --nTopmostRow; continue; } } break; } ... } Bad idea to perform GetRetsord () for a grouping row.
|
|
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 |