Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dynamic color in Reports ???
Message
 
To
02/07/2003 04:46:09
Albert Beermann
Piepenbrock Service Gmbh & Cokg
Osnabrück, Germany
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00805980
Message ID:
00806091
Views:
47
Unfortunately, the way you are doing it is the only way. There isn't a "dynamic" property that you can change on the fly.

Cathy


>Hello everbody !
>VFP 7.0 Question.
>
>I have to print calendar data and want to print special days and values in different colors.
>Is there a way to change the color with a condition???
>if dow(xyz) = sunday this.backgroundcolor = red ????
>if this.value > 1000 this.forgroundcolor = green ????
>
>Until now i put up to 4 objects(shapes or text in red,green,blue and yellow) at the same place in the report and use the print object condition (if value = .T.)
>
>One object for each color is realy stupid and i think that there must be a better way !!?? But i don't know how to do.
>
>Best regards
>Albert
Cathy Pountney, Microsoft Visual FoxPro MVP
Memorial Business Systems, Inc. (www.mbs-intl.com)

My Website: (www.frontier2000.com)
My Blog: (www.cathypountney.blogspot.com)
My Book: The Visual FoxPro Report Writer - Pushing it to the Limit and Beyond
Free MSDN Article: What's New in the VFP 9.0 Report Writer
Free MSDN Article: The VFP 9.0 Report Writer In Action
Previous
Reply
Map
View

Click here to load this message in the networking platform