Home All Groups Group Topic Archive Search About

Control Transparency Issue...

Author
29 Apr 2006 6:53 PM
edoepke
Visual Basic Questions NOT C# or C++ or VBScript:

"Windows.Forms Not Web Applications"

Does anyone have any code examples of making a TextBox and/or ListBox
control transparent? I have tried using
SetStyle(ControlStyles.SupportsTransparentBackColor, True) and it only seems
to work on the main form but not on the TextBox or ListBox controls. I've
been fighting this problem for about two weeks. I'm not interested in
creating a custom control, just want to use whats available in VB.

Does anyone have any code examples of placing an image into (not on top of)
a TextBox and/or ListBox control? These options are readily available in VB
6 and someone at Microsoft has determined that these are not necessary in VB
2005. Maybe they should ask us before they give us something new and better,
eh?

Author
30 Apr 2006 2:09 PM
Bobo
To the best of my knowledge the only object that has an opacity
property is the form.  I hope I'm wrong as I too would like to use this
method of displaying information in a 'different' way.  It wouldn't
matter if it was VB or C++ it's Framework.  VB6 didn't use Framework
where the new versions do. So while somethings where gained with the
'new' VB some were lost.  You may need to build a custom control.