![]() |
Report Control Cell Border |
Post Reply ![]() |
Author | |
umair ![]() Groupie ![]() Joined: 30 November 2017 Status: Offline Points: 20 |
![]() ![]() ![]() ![]() ![]() Posted: 07 March 2018 at 4:05am |
Hello,
How can change the border color of a cell in Report Control ? Please help. |
|
![]() |
|
olebed ![]() Admin Group ![]() Joined: 01 July 2014 Location: Ukraine Status: Offline Points: 841 |
![]() ![]() ![]() ![]() ![]() |
m_wndReport.GetPaintManager()->SetGridColor(RGB(255,0,0));
|
|
![]() |
|
umair ![]() Groupie ![]() Joined: 30 November 2017 Status: Offline Points: 20 |
![]() ![]() ![]() ![]() ![]() |
Thank You Oleksandr, the above logic will change all cell color in report control. But I want to change the color of a(or some) specific cell.
|
|
![]() |
|
umair ![]() Groupie ![]() Joined: 30 November 2017 Status: Offline Points: 20 |
![]() ![]() ![]() ![]() ![]() |
Hello,
How can change the border color of a specific cell in Report Control ? Please help. |
|
![]() |
|
olebed ![]() Admin Group ![]() Joined: 01 July 2014 Location: Ukraine Status: Offline Points: 841 |
![]() ![]() ![]() ![]() ![]() |
Hello,
It is impossible in current implementation. To implement this feature you need add some conditions to drawing common grid. And add some members to ReportRecordItem to save desired borders. Also some conditions to drawing border between two cells which have borders with different types. Or change this joint border to one type. See this call stack: CXTPReportSection::Draw() > CXTPReportControl::DrawRows() > CXTPReportRow::Draw() > CXTPReportRow::DrawItemGrid()
Regards, Oleksandr Lebed |
|
![]() |
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 |