![]() |
Changing individual row colors |
Post Reply ![]() |
Author | |
andrewg ![]() Groupie ![]() Joined: 24 September 2007 Status: Offline Points: 41 |
![]() ![]() ![]() ![]() ![]() Posted: 21 December 2007 at 2:12pm |
We need to change specific row colors to either red or yellow depending on their urgency. How is this accomplished in XTP?
|
|
![]() |
|
sserge ![]() Moderator Group ![]() Joined: 01 December 2004 Status: Offline Points: 1297 |
![]() ![]() ![]() ![]() ![]() |
In the regular sample see code for option "Automatic formatting sample".
You'll handle CMessageRecord::GetItemMetrics and depending on your urgency value will set a corresponding background: pItemMetrics->clrBackground = RGB(...); -- WBR, Serge |
|
![]() |
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 |