![]() |
Help! CXTPReportRecords::InsertAt is useless:( |
Post Reply
|
| Author | |
owyo
Newbie
Joined: 20 June 2010 Status: Offline Points: 9 |
Post Options
Thanks(0)
Quote Reply
Topic: Help! CXTPReportRecords::InsertAt is useless:(Posted: 21 June 2010 at 12:02am |
|
Everytime I create a CXTPReportRecord with follow codes:
CXTPReportRecord* pRecord = new CXTPReportRecord(); Then add some items: pRecord->AddItem(new CXTPReportRecordItemText(...)); At last I try to insert the record to the position I want, but failed always. int nIndex = 0; //CXTPReportControl m_wndReport; m_wndReport.GetRecords()->InsertAt(nIndex, pRecord); So if I want to insert the record to the appointed position, how should I do? Thanks very much. |
|
![]() |
|
owyo
Newbie
Joined: 20 June 2010 Status: Offline Points: 9 |
Post Options
Thanks(0)
Quote Reply
Posted: 22 June 2010 at 11:10pm |
|
Anybody help me?
|
|
![]() |
|
owyo
Newbie
Joined: 20 June 2010 Status: Offline Points: 9 |
Post Options
Thanks(0)
Quote Reply
Posted: 23 June 2010 at 2:43am |
|
|
![]() |
|
GRLEX
Groupie
Joined: 17 February 2009 Location: Ukraine Status: Offline Points: 27 |
Post Options
Thanks(0)
Quote Reply
Posted: 29 June 2010 at 4:21am |
|
When you try to insert record into grid are you sure that grid is not empty? Are you sure that you added column there?
Pls post more code from your project. And i'll try to help you. |
|
![]() |
|
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 |