![]() |
Report Control Cell Border |
Post Reply
|
| Author | |
umair
Groupie
Joined: 30 November 2017 Status: Offline Points: 20 |
Post Options
Thanks(0)
Quote Reply
Topic: Report Control Cell BorderPosted: 07 March 2018 at 4:05am |
|
Hello,
How can change the border color of a cell in Report Control ? Please help. |
|
![]() |
|
olebed
Senior Member
Joined: 01 July 2014 Location: Ukraine Status: Offline Points: 841 |
Post Options
Thanks(1)
Quote Reply
Posted: 07 March 2018 at 3:52pm |
|
m_wndReport.GetPaintManager()->SetGridColor(RGB(255,0,0));
|
|
![]() |
|
umair
Groupie
Joined: 30 November 2017 Status: Offline Points: 20 |
Post Options
Thanks(0)
Quote Reply
Posted: 07 March 2018 at 11:33pm |
|
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 |
Post Options
Thanks(0)
Quote Reply
Posted: 13 March 2018 at 4:00am |
|
Hello,
How can change the border color of a specific cell in Report Control ? Please help. |
|
![]() |
|
olebed
Senior Member
Joined: 01 July 2014 Location: Ukraine Status: Offline Points: 841 |
Post Options
Thanks(0)
Quote Reply
Posted: 13 March 2018 at 6:00am |
|
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 |