Windows Control

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am looking for a control that will display multi line, read only text,
black text on white back ground.
I have tried label control and textbox control, but the don't work the way I
want.
Label is does not have white background. Textbox , when disabled, does not
have white background.
 
I am looking for a control that will display multi line, read only text,
black text on white back ground.
I have tried label control and textbox control, but the don't work theway I
want.
Label is does not have white background. Textbox , when disabled, doesnot
have white background.

Hi Arne,

You can set the background color of a control to any color you like. The default color of a control is usually the same color as the containingcontrol, which is usually SystemColors.Control. Try label1.BackColor =Color.White;

As an alternative to disabling a TextBox you can set it to ReadOnly.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top