• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 433
  • Last Modified:

Form printing problem in VB6

I have developed one VB6 application. In my application there is a form which back color is &H80000005& (nearer to white) and controls back color is also &H80000005&. I want to print this form using print method. The print method, print form correcly but some times it prints form with some controls having black back color. For more idea please review attached image. In image controls marked in red recteguler have same back color as other controls.
 
Is this problem is related to OS environment or depends on color pattern used by printer?

How can I short out this problem?
0
aplusexpert
Asked:
aplusexpert
2 Solutions
 
technofileCommented:
Are the controls on the right checkboxes? I would do a thorough check of the properties,  I would also copy and paste from the left side, to the right side replacing what you have.
0
 
VBClassicGuyCommented:
If the controls on the right side are labels, set their background to transparent (I'm away from my VB6 PC right now, but I'm sure you'll find the property I'm speaking of...its default is Opaque. Set it to Transparent).
0
 
aplusexpertAuthor Commented:
Hi, Thanks for you response.
We worked out on your suggestion. The controls appeared in image all are checkboxes having same backcolor and other properties. Sorry but I can't findout transparent property value for my checkboxes.

Thanks,
 
0
 
aikimarkCommented:
"transparent" is not the property name, it is the value of the backstyle property
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now