VB.NET Label and TextBox Colors Different

  • Thread starter Thread starter Rascle1
  • Start date Start date
R

Rascle1

Guest
Working on creating and Windows Form App in Visual Studio 2019. Having a minor issue with Control.Forecolor. I can set the color off the Controls, that is not a problem. The Problem is the Colors do not match and the only "Difference" is the Size of the Font. In particular I have 2 Labels, one right above the Other. Top Label is Sized 250,38 and has Font set as San Serif at Size 18. Bottom Label is Sized 250,120 and has Font set as San Serif at Size 55. Not that it make any difference, but depending on what is going on in other parts of the Program the Forecolor is set to either Color.Green, Color.Yellow, or Color.Red. (and no it is not a Stop Light) :) No matter which "Color" they are Set to, the Bottom Label is "Lighter" than the Top Label. Just in case, I have used ToolTips on the Controls while the App was running and Verified that the A, R, B, and G Parameters of the ForeColor are Identical between the 2 Labels. Yet the Displayed Color is noticeably different. Anyone else seen this, or have a fix?

Continue reading...
 

Similar threads

D
Replies
0
Views
153
David William Smith
D
D
Replies
0
Views
193
David William Smith
D
V
Replies
0
Views
156
Vergassivellaunus
V
Back
Top