Selected record background color |
Post Reply |
Author | |
yoavm
Groupie Joined: 15 July 2006 Status: Offline Points: 47 |
Post Options
Thanks(0)
Posted: 10 January 2018 at 8:29pm |
Hi,
One of the column is state which has background color (red,
orange, yellow, green). When the record selected the select color overlay the state
column color. I need a way to retain the background color of the state
column when the record selected. I need a quick response. Thanks, yoavm |
|
olebed
Admin Group Joined: 01 July 2014 Location: Ukraine Status: Offline Points: 841 |
Post Options
Thanks(0)
|
Hello yoavm,
Try to delete last part of CXTPReportRow::GetItemMetrics() method (Source\ReportControl\XTPReportRow.cpp)
Regards, Oleksandr Lebed |
|
yoavm
Groupie Joined: 15 July 2006 Status: Offline Points: 47 |
Post Options
Thanks(0)
|
This will remove the selected color and leave the selected
line without color. This was not what I need. I need the selected color with the ability to override
background color for a specific column. Thanks, yoavm |
|
olebed
Admin Group Joined: 01 July 2014 Location: Ukraine Status: Offline Points: 841 |
Post Options
Thanks(0)
|
you can play with virtual method CXTPReportRecord::GetItemMetrics() and that method CXTPReportRow::GetItemMetrics() from library.
see our sample Samples\ReportControl\ReportSample\TaskListView.cpp method CTaskRecord::GetItemMetrics() (you can see this sample with by clicking in main menu "Report Control" > "Control Test" > "Task List sample") such virtual methods are called from CXTPReportRow::GetItemMetrics()
|
|
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 |