Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Chng Line ForeColor in All .frx files from default to BL
Message
 
 
To
05/06/2003 09:49:39
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00796661
Message ID:
00796677
Views:
13
This message has been marked as the solution to the initial question of the thread.
>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.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform