label backcolor set to 'transparent' not working
label backcolor set to 'transparent' not working
label backcolor set to 'transparent' not working
label backcolor set to 'transparent' not working
label backcolor set to 'transparent' not working
label backcolor set to 'transparent' not working label backcolor set to 'transparent' not working label backcolor set to 'transparent' not working label backcolor set to 'transparent' not working label backcolor set to 'transparent' not working label backcolor set to 'transparent' not working label backcolor set to 'transparent' not working label backcolor set to 'transparent' not working
label backcolor set to 'transparent' not working label backcolor set to 'transparent' not working
label backcolor set to 'transparent' not working
Go Back  Xtreme Visual Basic Talk > > > label backcolor set to 'transparent' not working


Reply
 
Thread Tools Display Modes
  #21  
Old 09-04-2012, 07:41 PM
PlausiblyDamp's Avatar
PlausiblyDamplabel backcolor set to 'transparent' not working PlausiblyDamp is offline
Ultimate Contributor

Forum Leader
* Expert *
 
Join Date: Nov 2003
Location: Newport, Wales
Posts: 2,058
Default


I would personally be very glad to see more WPF related questions and solutions here.
__________________
Intellectuals solve problems; geniuses prevent them.
-- Albert Einstein

Posting Guidelines Forum Rules Use the code tags
Reply With Quote
  #22  
Old 09-13-2012, 04:10 AM
boops boops's Avatar
boops boops boops boops is offline
Centurion
 
Join Date: Dec 2006
Location: Holland and France
Posts: 146
Default

Quote:
Originally Posted by boops boops View Post
Code:
Label1.Parent = PictureBox1
Label1.Location.Offset(- PictureBox1.Left, - PictureBox1.Top)
Too late to edit post #6, but I forgot that Location is readonly. Replace the second line by:
Code:
Label1.Bounds.Offset(- PictureBox1.Left, - PictureBox1.Top)
This code assumes that the Label has been positioned over the picture box in the Designer. To describe this as having to "do the bulk of your layout code by hand" is not even remotely true. In my view, adding a Label (intended for displaying supplementary static information) to a PictureBox (intended for displaying images, including moving images) is an appropriate use of control parenting and transparency.

BB
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
label backcolor set to 'transparent' not working
label backcolor set to 'transparent' not working
label backcolor set to 'transparent' not working label backcolor set to 'transparent' not working
label backcolor set to 'transparent' not working
label backcolor set to 'transparent' not working
label backcolor set to 'transparent' not working label backcolor set to 'transparent' not working label backcolor set to 'transparent' not working label backcolor set to 'transparent' not working label backcolor set to 'transparent' not working label backcolor set to 'transparent' not working label backcolor set to 'transparent' not working
label backcolor set to 'transparent' not working
label backcolor set to 'transparent' not working
 
label backcolor set to 'transparent' not working
label backcolor set to 'transparent' not working
 
-->