-
Hi,
I'm trying to create a transparent frame on a VB Form.
I have a form which contains a PICTURE control which serves as a background
( I need to be able to drag that background and to move it according to location
data I receive from a GPS). On top of the PICTURE I try to group several CHECK
BOXES in a FRAME control.
What I need is to make the grouping FRAME transparent so the form will have the
PICTURE as it's background and the CHECK BOXES floating above that background.
How do I make the FRAME transparent ?
Erez
-
The frame control doesn't support transparency but you could cut the regions of it, but i'm sure your checkboxes won't be displayed transparent, I think you should either draw directly on the form or use labels in combination with the checkboxes. If you're just using the frame as a container for your checkboxes, I think you should place them on the form instead and have a shape control grouping them. I would prefer drawing everything on the form
-
You could build your own 'fake' frame. Just add two box shapes to the form (of equal size).
Make the first one's BorderWidth = 2, and it's colour to Dark Grey (InactiveTitleBar). Make the second one BorderWidth = 1, and it's colour to white. Overlay the white box on the dark grey one. If you can't see the white part, click 'bring to front'. Then just add a caption at the top.
:D