all columns have same value |
Post Reply |
Author | |
vjedlicka
Senior Member Joined: 04 September 2007 Status: Offline Points: 122 |
Post Options
Thanks(0)
Posted: 06 June 2016 at 6:30am |
I have a CXTPReportControl with 2 columns. The result of this code snippet is a grid with 2 columns with "A" everywhere. "B" is not displayed anywhere.POSITION pos = l_list_CElems.GetHeadPosition(); while (pos != NULL) { CElem * const pElem = l_list_CElems.GetNext(pos); CXTPReportRecord* pRecord = m_wndReport.AddRecord(new CXTPReportRecord()); pRecord->AddItem(new CXTPReportRecordItemText(_T("A"))); pRecord->AddItem(new CXTPReportRecordItemText(_T("B"))); } |
|
Thank you
Vaclav --------------------- ToolkitPro 20.1.0 VS2010-2022, Windows 11 |
|
vjedlicka
Senior Member Joined: 04 September 2007 Status: Offline Points: 122 |
Post Options
Thanks(0)
|
problem fixed
|
|
Thank you
Vaclav --------------------- ToolkitPro 20.1.0 VS2010-2022, Windows 11 |
|
xang
Groupie Joined: 01 January 2013 Status: Offline Points: 36 |
Post Options
Thanks(0)
|
Can you share your fixed solution for other developers :)?
|
|
Product: Xtreme Toolkit Pro (MFC) version 18.0.1 (with 1-year maintenance)
Platform: Windows 10 RS2 (x64) Language: Visual C++ |
|
vjedlicka
Senior Member Joined: 04 September 2007 Status: Offline Points: 122 |
Post Options
Thanks(0)
|
The columns had the same ID.
|
|
Thank you
Vaclav --------------------- ToolkitPro 20.1.0 VS2010-2022, Windows 11 |
|
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 |