-
Feb 2nd, 2007, 06:09 AM
#1
Thread Starter
Lively Member
Make a textbox transparent
how cam i do this in order to appear only the contets-text- and not the textbox?
-
Feb 2nd, 2007, 06:17 AM
#2
Re: Make a textbox transparent
Originally Posted by panais
how cam i do this in order to appear only the contets-text- and not the textbox?
1. Make textbox's border style to :0-None.
2.Back color = forms ' back color
-
Feb 2nd, 2007, 06:20 AM
#3
Re: Make a textbox transparent
Linking back to your oter post...
Have a look at post #7 by BushMobile: http://www.vbforums.com/showthread.p...parent+TextBox
-
Feb 2nd, 2007, 06:31 AM
#4
Thread Starter
Lively Member
Re: Make a textbox transparent
Originally Posted by amrita
1. Make textbox's border style to :0-None.
2.Back color = forms ' back color
will it work if i have a picture in my picturebox?
-
Feb 2nd, 2007, 06:33 AM
#5
Re: Make a textbox transparent
No......
(use a Transparent TextBox, or RTBox)
-
Feb 2nd, 2007, 06:37 AM
#6
Thread Starter
Lively Member
Re: Make a textbox transparent
Originally Posted by Bruce Fox
No......
(use a Transparent TextBox, or RTBox)
ok.because i am new in vb6 where can i find transparent textbox?
-
Feb 2nd, 2007, 06:38 AM
#7
Thread Starter
Lively Member
Re: Make a textbox transparent
instead of :
VB Code:
Set Txts(j) = Me.Controls.Add("Vb.TextBox", "cmdButton" & Me.Controls.Count, Picture1)
what can i use?
-
Feb 2nd, 2007, 06:38 AM
#8
Re: Make a textbox transparent
where can i find transparent textbox?
I think there was an example in the link I posted above.
(PS. make the Search function on this Forum your friend )
-
Feb 2nd, 2007, 06:39 AM
#9
Re: Make a textbox transparent
he mean Rich Text Box control
-
Feb 2nd, 2007, 06:42 AM
#10
Re: Make a textbox transparent
[QUOTE=panais]where can i find transparent textbox?[QUOTE]
It's a regular TextBox - just modified. Take you pick from here: http://www.vbforums.com/search.php?searchid=1157979
-
Feb 5th, 2007, 07:43 AM
#11
Lively Member
Re: Make a textbox transparent
You can find a rich text box in the control list, default is it's on the left.
You can make a transparant text box by inserting a new normal textbox, and then changing two of it's properties.
These are:
VB Code:
Text1.BorderStyle = 0 'In my version of VB this also changes the background colour of the textbox to match the forms colour. This removed the border You can also do this in design view, type in the above to do this in runtime.
Text1.BackColor = -2147483643 'This sets the background of the textbox to the default colour for forms in Windows XP. In design view, set the backcolour setting to "Button Face"
So to clarify, In runtime include
VB Code:
Text1.BorderStyle = 0
Text1.BackColor = -2147483643
and in design view set the BackColour to "Button Face" and the borderstyle to "0 - None"
If, somehow, I help you, please rate the post using the scales icon in the left bar <---- .
Please Use Naming Conventions in your projects! ------\/
http://www.visibleprogress.com/vb_na...onventions.htm
Me to Brother
-Hey, look at this avater I made in about 5 seconds
-What, morrisons?
-AGHHHHHH
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
|