Transparent Labels too transparent

richt

Member
Licensed User
Hi there,

I'm using transparent labels on a formex in order to tie the label's colour in with whatever windows theme is in use but unfortunately the labels are just a little too transparent and take the MDI forms beneath the new form as the label background instead of the form itself.

Is this a .Net bug?

I've attached a JPG to demonstrate.

Cheers,
Rich
 

agraham

Expert
Licensed User
Longtime User
A FormEx handles its background differently to a standard Basic4ppc Form as it doesn't have a Forelayer and backlayer. A transparent label won't draw properly on a FormEx as when it is transparent it tries to draw its background from the Form background bitmap which contains the Forms forelayer and backlayer - which don't exist on a FormEx.
 

richt

Member
Licensed User
Thanks Agraham. So I need to research retrieving the system's colours and assigning them to my controls.

Cheers,
Rich
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…