how cam i do this in order to appear only the contets-text- and not the textbox?
Printable View
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.Quote:
Originally Posted by panais
2.Back color = forms ' back color
Linking back to your oter post...
Have a look at post #7 by BushMobile: http://www.vbforums.com/showthread.p...parent+TextBox
Quote:
Originally Posted by amrita
will it work if i have a picture in my picturebox?
No......
(use a Transparent TextBox, or RTBox) :)
Quote:
Originally Posted by Bruce Fox
ok.because i am new in vb6 :blush: where can i find transparent textbox? :blush:
instead of :
VB Code:
Set Txts(j) = Me.Controls.Add("Vb.TextBox", "cmdButton" & Me.Controls.Count, Picture1)
what can i use?
I think there was an example in the link I posted above.Quote:
where can i find transparent textbox?
(PS. make the Search function on this Forum your friend ;))
he mean Rich Text Box control
[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
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:
So to clarify, In runtime includeVB 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"
VB Code:
Text1.BorderStyle = 0 Text1.BackColor = -2147483643
and in design view set the BackColour to "Button Face" and the borderstyle to "0 - None"