CXTPReportControl crashed ! |
Post Reply |
Author | |
czlai
Groupie Joined: 18 December 2006 Location: Taiwan Status: Offline Points: 35 |
Post Options
Thanks(0)
Posted: 12 April 2009 at 9:25pm |
A CXTPReportRecord in the CXTPReportControl, that was SetVisible(FALSE).
Then Delete the record will cause a crash !
To avoid the problem, I should SetVisible(TRUE) and Populate() before delete it !
|
|
inmaurik
Groupie Joined: 13 July 2007 Location: Netherlands Status: Offline Points: 17 |
Post Options
Thanks(0)
|
Shouldn't you call RemoveRecordEx when you want to remove a record without calling Populate? After you have removed the record (with bRemoveFromParent = TRUE) you can delete the record.
|
|
Product: Xtreme SuitePro (MFC) version 13.3.1
Platform: Windows 7 Enterprise (64bit) Language: C++ (Visual Studio 2008 SP1) |
|
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 |