Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dynamic Backcolor Question
Message
From
20/06/2006 09:45:12
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
MySQL
Miscellaneous
Thread ID:
01129463
Message ID:
01130229
Views:
23
>It's background color of the text in the field not the background color of the field itself. No text - no background color. You can put opaque shape under transparent field and change the color of the shape instead.

Thank you for correcting me. I never use backcolor for reports, and thought it behaved just like backcolors in grids. I did not occur to me that the behavior for reports was different, but when thinking of it, it sounds reasonable.

>>cursor = listwahl contains datum1 for each record
>>datum1 is never printed, i use it only for setting the backcolor of the printed fields.
>>
>>In my report i have the following code at userdata of all textfields.
>>
>>*:LISTENER BACKCOLOR = icase(listwahl.datum1 = 'SA' or listwahl.datum1 = 'SO', #ROSA#,listwahl.datum1= 'FF' , #RED#,#WHITE#)
>>
>>If weekend backcolor = ROSA, if public holiday backcolor RED, otherwise WHITE
>>Everything works as expected, when .
>>
>>But the backcolor is not set if the field value in my report is empty(blank) ????
>>I want the backcolor even when the field is empty.
>>
Previous
Reply
Map
View

Click here to load this message in the networking platform