Print Page | Close Window

Apply formatting to box object dynamically

Printed From: Crystal Reports Book
Category: Crystal Reports 9 through 2020
Forum Name: Tips and Tricks
Forum Discription: Have you learned some great tricks to share with the group? Post them here!
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=5395
Printed Date: 05 May 2024 at 9:40am


Topic: Apply formatting to box object dynamically
Posted By: rcflyer2005
Subject: Apply formatting to box object dynamically
Date Posted: 02 Feb 2009 at 12:08pm
I have three box objects on my report that I want to change depending on the value of a database field.

On a Box Object I've placed on the report, how would I change the Border Color, and the Fill Color ?

From Report Fields window, I can drag box5 to the editor. It displays {@box5}.

I stuck now...

How do I change the properties of this object?  I don't know the property names or the syntax.  I suspect, I will use Color (Red value, Green value,Blue value) in it somehow.

Thanks much.






Replies:
Posted By: rcflyer2005
Date Posted: 02 Feb 2009 at 12:40pm
Solved my problem.  All I had to do was un-check the box property background color.  That allows the background color to be visible.

Sorry.





Print Page | Close Window