increase performance of form when set transparent

ctlqt12

New member
Joined
Nov 6, 2006
Messages
2
Programming Experience
Beginner
I have a form and 30 controls on it. I set backcolor of 30 controls to transparent ( so i can see the backgroundImage of form ).

But when i did that, the form is loaded very slow.

So how could i do to increase the performance of form ( when form is loaded ) ?

Please give me some instructions.
 
Have you tried this without the controls backcolor set to transparent? It's just that i can't see why that would affect the performance of the forms load time. I would have a guess that it's the actual loading of the 30 controls and painting the forms background image that would be taking the time. However i could be wrong.
 
Yes, when i tried this without the controls backcolor set to transparent. It's fast.

So i think when i set to transparent, pixel of image of background will be mapped to pixel of controls. So it's so slow.

And how could i solve this? Any ideas will be welcomed
 
Is there any chance you could post this project so i can take a look. It may just be that you'll have to live with the slow load time if you want the tranparency, it's just that i have never experienced such problems which leads me to think that there is something else going on here.
 
Back
Top