Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Coded report prints shaded from app, fine from command l
Message
De
31/08/1998 09:48:38
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00130893
Message ID:
00131503
Vues:
20
>Thanks John -
>I tried the chr(27) 'E' but no change. I figured out a few things though - the .prg is taking on the color of the open form. If I skip opening the form before calling the .prg, the reports prints black ink normally. I then changed the property of the form to be a lighter background and the printer printed a lighter background. The .prg is "inheriting" the background of the form1! Since I do want a green background for form1, and I want the main form open, I need a way to reset the printer color scheme. I've read "scheme()" but it doesn't really make sense (I'm dense). Any ideas?
>Thanks-
>dxb

Local OldBack
OldBack=thisform.backcolor
thisform.lockscreen=.t.
* let's set the form's color to white
thisform.backcolor=rgb(255,255,255)
* run the form
report form whatever to...
* restore the color
thisform.backcolor=OldBack
* unfreeze the form
thisform.lockscreen=.f.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform