|
-
Jun 13th, 2000, 02:35 PM
#1
Thread Starter
New Member
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
-
Jun 13th, 2000, 04:23 PM
#2
transcendental analytic
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
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Jun 13th, 2000, 06:14 PM
#3
Addicted Member
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|