BUG: Drag&drop from/to header rows |
Post Reply |
Author | |
znakeeye
Senior Member Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
Posted: 02 March 2008 at 2:14pm |
wndReport.EnableDragDrop(xtpReportAllowDrop | xtpReportAllowDragMove);
GetHeaderRecords()->Add(new CMyRecord());
ShowHeaderRows(TRUE); Now, if I drag items from my header to the rows below it, it looks like the drop is successful, but it is not. The problem, I think, is an old check in CXTPReportRecords::Move():
void CXTPReportRecords::Move(int nIndex, CXTPReportRecords* pRecords)
{
...
if (pRecord->m_pRecords != this)
continue; ...
}
Please fix this! (In my case I want to disable dragging from and to the header rows.)
|
|
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 |