Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
The color of the rectangle
Message
From
30/03/2001 15:06:12
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
30/03/2001 14:57:36
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00490413
Message ID:
00490417
Views:
6
>Here's one that I think is a bit tricky. I have a rectangle on a report, this rectangle should be a different color depending one the data in a certain data field, for example Blue if data.color=1, Red if data.color=2, etc. Any ideas how to do this??

Regular trick is to have as many objects you need, overlapped, and in the PrintWhen of each of them you decide which one will actually get printed. In your case, it would be as many rectangles as there are colors.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform