Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Suite Pro
  New Posts New Posts RSS Feed - ReportControl: Row backcolor
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

ReportControl: Row backcolor

 Post Reply Post Reply
Author
Message Reverse Sort Order
rdeboer View Drop Down
Groupie
Groupie


Joined: 29 April 2004
Location: Netherlands
Status: Offline
Points: 81
Post Options Post Options   Thanks (0) Thanks(0)   Quote rdeboer Quote  Post ReplyReply Direct Link To This Post Topic: ReportControl: Row backcolor
    Posted: 02 June 2005 at 8:17am
Figured it out already!


Back to Top
rdeboer View Drop Down
Groupie
Groupie


Joined: 29 April 2004
Location: Netherlands
Status: Offline
Points: 81
Post Options Post Options   Thanks (0) Thanks(0)   Quote rdeboer Quote  Post ReplyReply Direct Link To This Post Posted: 02 June 2005 at 7:36am
How do I set the backcolor of a row in the reportcontrol?

I need to change the backcolor in some occassions when adding items to the control:

For t = Start to End
    Set Record = frmArticles.ArticlesControl.Records.Add
    Set Item = Record.Additem(rs.Value("Subject"))
    Set Item = Record.Additem(rs.Value("NumberOfMessages")
    If NumberOfMessages = 0 then
       '--- Set Backcolor of this row to red
       '???  
     end if
Next

I can set the background of the current item here, but I want to change the backcolor of the current row.


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.062 seconds.