Is it possible to make frames transparent, I have over 20 on one of my forms, and I need them to be transparent, is this possible?
Printable View
Is it possible to make frames transparent, I have over 20 on one of my forms, and I need them to be transparent, is this possible?
may be this thread will give you some idea.
http://www.vbforums.com/showthread.p...61394&t=471656
Sorry, that is form, I need frames...
This will make the frame invisible (including all components):
Whereas this will make the frame invisible but leave the components there:Code:Private Sub Form_Load()
Frame1.Visible = False
End Sub
Code:Private Sub Form_Load()
Frame1.BorderStyle = 0
Frame1.Caption = ""
End Sub
Well, I want the frame to be visible, just the background inside the border to be invisible...
Hmmm.... OK i'm gonna have to pass on that one.... Lol.
Is it possible, but hard? Or completely impossible?
I would say possible but hard. I'm only a beginner so you would really need to wait for Martin or Si or some other advanced member to respond. Sorry.
Ok, thank you for your time though...
If the background to the frame(s) is static, try using the transparent frame UserControl in my signature (TransFrame.zip) This blits a pic of the background onto the control.
If the background is mobile, ie video, a pic that stretches with the form, scrolling text/pictures etc, the only successful way I've found is to use overlays. Complex but possible. (NET/VB2005 has native support for transparent controls, but is flaky when it comes to displaying them over video)
The frames background is static... (I am trying it now...)
The problem is that the border doenst work well... Is there a way I can make the border work with the background?
You cannot make frame control transparent, period.
All you can do is simulate transparency - to find out how it could be done lookup the link in my signature.
Nope. As RhinoBull has said, all you can do is mimic transparency.Quote:
Originally Posted by Bobalandi
Well, yes, like what you did with the background, is there a way that the border text can mimic the background?
Have you looked at the sample I mentioned in my previous post?
Not as far as I know - the caption's background colour is the same as one of the borders.Quote:
Originally Posted by Bobalandi
EDIT: Have you tried Rhino's sample code ?
Yes, but I didnt understand most of it... *embarrased...*
I can't help you with that - you have to learn to be able to read someone else's code - that's nature of business.
Ok... Thanks AGAIN for all your help... :D