![]() |
CXTPReportRecords::m_pControl is NULL |
Post Reply ![]() |
Author | |
xcentric ![]() Groupie ![]() Joined: 04 September 2008 Status: Offline Points: 41 |
![]() ![]() ![]() ![]() ![]() Posted: 26 April 2012 at 4:15pm |
CXTPReportRecord::GetChilds() is implemented as follows:
CXTPReportRecords* CXTPReportRecord::GetChilds() { if (m_pChildren == NULL) m_pChildren = new CXTPReportRecords(this); if (GetRecords()) { BOOL bCase = GetRecords()->IsCaseSensitive(); m_pChildren->SetCaseSensitive(bCase); } return m_pChildren; } As you can see, this method creates an instance of CXTPReportRecords and assigns it to pChildren. The problem is CXTPReportRecords::m_pControl member is not assigned here and will stay NULL. I think you should change first two lines: if (m_pChildren == NULL) { m_pChildren = new CXTPReportRecords(this); m_pChildren->m_pControl = m_pControl; } |
|
Toolkit Pro 15.1.2
Windows 7 x64 Visual Studio 2008 |
|
![]() |
|
ABuenger ![]() Newbie ![]() ![]() Joined: 02 February 2006 Status: Offline Points: 1075 |
![]() ![]() ![]() ![]() ![]() |
Hi,
this has been fixed for the next release. Andre |
|
Codejock support
|
|
![]() |
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 |