Displaying Transparent Labels

Madz

Well-known member
Joined
Jan 22, 2003
Messages
155
I have an application which is used as a lock screen when PC is locked. i want to use that image on a form. which is full screen and without any border.
This image is of size 800 x 600 . i used that image as a background image of the form . now i faced a problem in case if i run that application on resolution of 1024 * 768 then image is looking like splited and some image is shown below.

If i try to use this image in a imagebox and make imagebox to anchor from Allside and set its display property to streatch image then it works properly but the Lable control on my form which has a back color properly to Transperant is unable to make it completely transparent
now that label is showing on picture and making it very dull

these things are in this sequence

FORM --> ImageBOX --> Label

Label is on the top of imagebox.

How can i make is transparent. or some otherway to display text on image:mad:
 
you can create your own label control set it to be transparent. (you need to inherit and do this yourself, otherwise you cant set it to be transparent) but the only problem would be that when the label is above the imagebox you will see thru the imagebox and see the form.

my advice would be to look up the drawstring stuffs. :)
 
Back
Top