Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Label Transparency

contactcorpcontactcorp Member Posts: 1
I tried creating transparent labels in VB.NET by using the following code:

[code][blue]Lablel1.BackColor = System.Drawing.Color.Transparent[/blue][/code]

While it appears that the label property [italic]did change[/italic] with the assignment, I had no luck getting the label [b]to actually look transparent[/b]. Instead it looks off-white.
I also tried setting its property through the property window using the "Transparent" option under "web colors." No such luck. I use the transparent effect extensively in an application I'm upgrading from VB 6 to place data from a database in front of a bitmap image.

[red]Has anyone had success with this in a windows form using VB.NET?[/red]

Comments

  • Shawn CarterShawn Carter Member Posts: 0

    _ { http://forcoder.org } free video tutorials and ebooks about [ C, Java, JavaScript, Perl, Scratch, Python, Visual Basic .NET, Delphi, Swift, Go, C++, C#, Assembly, Visual Basic, R, Ruby, PHP, MATLAB, Objective-C, PL/SQL Kotlin, Scheme, Logo, ABAP, Fortran, VBScript, Bash, Clojure, Lisp, Lua, ML, F#, Julia, FoxPro, Apex, Crystal, Prolog, COBOL, Scala, SAS, Erlang, LabVIEW, D, Hack, Dart, Rust, Ada, Awk, Alice, Transact-SQL ] ____

Sign In or Register to comment.