Forecolor won't show

Anders Damkjær 1 Reputation point

Hi there,

I am new to Visual Basic, but I am developing a windows form app .NET and I have a problem.

I insert a textbox, label or button in the form and change the text and forecolor, and it displays the color that I chose.

Then when I run the program (press the start icon at the top) the forecolor (the font color) is just black...
What am I doing wrong here?

Please help!


An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,601 questions
{count} votes

2 answers

Sort by: Most helpful
  1. LesHay 7,126 Reputation points

    You need to say how you 'change the text and forecolor'. Is that done in the Designer by changing the Forecolor property?
    Do you have any code in the Form1_Load Event Handler, or the Form1_Shown Event Handler?

    0 comments No comments

  2. Anders Damkjær 1 Reputation point

    Thank you for your answer, LesHay-2099, but I managed to solve the issue :)

    It turns out that I had a panel with the enable-property set to FALSE, underneath the labels and textboxes.

    0 comments No comments