![]() |
Colour ROW based in value in Item |
Post Reply ![]() |
Author | |
LeeHayton ![]() Senior Member ![]() ![]() Joined: 25 November 2005 Location: United Kingdom Status: Offline Points: 102 |
![]() ![]() ![]() ![]() ![]() Posted: 16 November 2006 at 11:03am |
How can I change the Row.BackColor when I have a value > 0 in a RowItem?
I know you use the BeforeDrawRow(Row, Item) function but after I have enumerated through a few items and then find the value > 0 how do I change the whole row?
Thanks
Lee
|
|
![]() |
|
SuperMario ![]() Admin Group ![]() ![]() Joined: 14 February 2004 Status: Offline Points: 18057 |
![]() ![]() ![]() ![]() ![]() |
I recommend maybe setting a flag as you populate\add data to records if you added any value greater than 0, then in beforedrawrow you can just say if bValueGreaterThanZero ....
|
|
![]() |
|
LeeHayton ![]() Senior Member ![]() ![]() Joined: 25 November 2005 Location: United Kingdom Status: Offline Points: 102 |
![]() ![]() ![]() ![]() ![]() |
I know what you mean - I might have to do that. Thanks
It's a shame you can't just refer to the row at any point - especially when the row parameter is available.
|
|
![]() |
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 |