• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 436
  • 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?
2 Solutions
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.
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).
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.

"transparent" is not the property name, it is the value of the backstyle property
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

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