Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Chng Line ForeColor in All .frx files from default to BL
Message
From
05/06/2003 10:10:09
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00796661
Message ID:
00796693
Views:
18
Just in time as usual Sergey! You've saved the day! Thank you so much!

:o)

>>Anyone familiar with how to step through all records in an .frx and change the reports object's forecolor and backcolor? I need to force a black forecolor and a white backcolor on all objects because some of our reports the 'default' colors are being substituted on workstations and the lines are visible. I would like to do this programmatically before compiling (just like I strip out the info in the TAG fields etc).
>>
>>TIA!
>
>Tracy,
>
>The forecolor is stored in PenRed, PenGren and PenBlue fields, background in FillRed, FillGreen and FillBlue fields the same way as it used in RGB() function. The default color is represented by -1 in those fields. You may want to change it for report objects with ObjType: 5-Label, 6-Line, 7-shape and field-8.
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform