Click here to Skip to main content
15,914,013 members
Home / Discussions / C#
   

C#

 
AnswerRe: Stopping threads without Thread.Abort() Pin
Leslie Sanford3-Apr-07 11:30
Leslie Sanford3-Apr-07 11:30 
QuestionTransparent Label Pin
logicon3-Apr-07 9:27
logicon3-Apr-07 9:27 
AnswerRe: Transparent Label Pin
Douglas Troy3-Apr-07 9:29
Douglas Troy3-Apr-07 9:29 
GeneralRe: Transparent Label Pin
logicon3-Apr-07 9:35
logicon3-Apr-07 9:35 
GeneralRe: Transparent Label Pin
Douglas Troy3-Apr-07 9:38
Douglas Troy3-Apr-07 9:38 
GeneralRe: Transparent Label Pin
logicon3-Apr-07 9:40
logicon3-Apr-07 9:40 
GeneralRe: Transparent Label Pin
Douglas Troy3-Apr-07 9:51
Douglas Troy3-Apr-07 9:51 
GeneralRe: Transparent Label Pin
Dave Kreskowiak3-Apr-07 10:03
mveDave Kreskowiak3-Apr-07 10:03 
Making a BackColor Transparent doesn't make your control transparent. It's a lousy name to use because people just assume that it makes the control, well, transparent. It does NOT do this!! Making your label transparent doesn't show you every behind the label.

What it does is make the label take on the background properties of the parent form it's hosted on. The label will show you the background as it is on the parent form, regardless of what controls are behind the label!

In your example, if you set the form's BackColor property to Red and put a Yellow PictureBox on the form, then add a Label control to the form, directly over the PictureBox, the label will show up as Red, not Yellow!


Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007


QuestionSelf restart Pin
Marc Clifton3-Apr-07 9:05
mvaMarc Clifton3-Apr-07 9:05 
AnswerRe: Self restart Pin
Douglas Troy3-Apr-07 9:22
Douglas Troy3-Apr-07 9:22 
AnswerRe: Self restart Pin
kubben3-Apr-07 9:46
kubben3-Apr-07 9:46 
QuestionControl box doesnt exit application Pin
mfmaneef3-Apr-07 8:51
mfmaneef3-Apr-07 8:51 
QuestionRe: Control box doesnt exit application Pin
Douglas Troy3-Apr-07 8:56
Douglas Troy3-Apr-07 8:56 
AnswerRe: Control box doesnt exit application Pin
mfmaneef3-Apr-07 9:05
mfmaneef3-Apr-07 9:05 
GeneralRe: Control box doesnt exit application Pin
Douglas Troy3-Apr-07 9:27
Douglas Troy3-Apr-07 9:27 
QuestionUsing .NET C# UI control from Visual Studio 6 C++ Pin
StephenJB3-Apr-07 8:17
StephenJB3-Apr-07 8:17 
QuestionSaving project to file Pin
sinosoidal3-Apr-07 7:02
sinosoidal3-Apr-07 7:02 
AnswerRe: Saving project to file Pin
Douglas Troy3-Apr-07 7:21
Douglas Troy3-Apr-07 7:21 
GeneralRe: Saving project to file Pin
sinosoidal3-Apr-07 7:25
sinosoidal3-Apr-07 7:25 
GeneralRe: Saving project to file Pin
Douglas Troy3-Apr-07 7:29
Douglas Troy3-Apr-07 7:29 
GeneralRe: Saving project to file Pin
sinosoidal3-Apr-07 23:31
sinosoidal3-Apr-07 23:31 
GeneralRe: Saving project to file Pin
sinosoidal3-Apr-07 23:37
sinosoidal3-Apr-07 23:37 
QuestionImplementing drag and drop funcionality Pin
sinosoidal3-Apr-07 6:56
sinosoidal3-Apr-07 6:56 
AnswerRe: Implementing drag and drop funcionality Pin
Douglas Troy3-Apr-07 7:22
Douglas Troy3-Apr-07 7:22 
GeneralRe: Implementing drag and drop funcionality Pin
sinosoidal3-Apr-07 23:41
sinosoidal3-Apr-07 23:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.