Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Chng Line ForeColor in All .frx files from default to BL
Message
 
 
À
05/06/2003 09:49:39
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00796661
Message ID:
00796677
Vues:
14
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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform