Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - Colour ROW based in value in Item
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Colour ROW based in value in Item

 Post Reply Post Reply
Author
Message
LeeHayton View Drop Down
Senior Member
Senior Member
Avatar

Joined: 25 November 2005
Location: United Kingdom
Status: Offline
Points: 102
Post Options Post Options   Thanks (0) Thanks(0)   Quote LeeHayton Quote  Post ReplyReply Direct Link To This Post Topic: Colour ROW based in value in Item
    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
Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 16 November 2006 at 1:54pm
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 ....

Back to Top
LeeHayton View Drop Down
Senior Member
Senior Member
Avatar

Joined: 25 November 2005
Location: United Kingdom
Status: Offline
Points: 102
Post Options Post Options   Thanks (0) Thanks(0)   Quote LeeHayton Quote  Post ReplyReply Direct Link To This Post Posted: 17 November 2006 at 3:29am
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.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.141 seconds.