Print Page | Close Window

ReportControl: Row backcolor

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Suite Pro
Forum Description: Topics Related to Codejock Suite Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=2312
Printed Date: 17 November 2024 at 5:28pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: ReportControl: Row backcolor
Posted By: rdeboer
Subject: ReportControl: Row backcolor
Date 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.





Replies:
Posted By: rdeboer
Date Posted: 02 June 2005 at 8:17am
Figured it out already!





Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net