How do I set the background color of a readonly textbox in Winforms?

JohnB

I have several textboxes in a Winforms window. These textboxes need to be set to readonly in the design. (I don't want to use labels, because some of these are multiline).

I would like to keep the original background color and not display the "disabled" grey color for the background.

How do I do this?

Thanks

David A. Gray

Set the Background property of the control.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

How do I set a JLabel's background color?

How do I change the background color with JavaScript?

How do I set a background-color for the width of text, not the width of the entire element, using CSS?

How do I set UIButton background color forState: UIControlState.Highlighted in Swift

Set background-color of first word in textbox?

Set textbox to readonly and background color to grey in jquery

How do I change the background color of the body?

How do I set the background color in VBA so I can detect it in a formula?

How do I override the style background color?

How do I set the text and background color of an single static control c++?

How do I set a primary color that I can use for my background property in ResourceDictionary

How do I set the window background color using curses and Python?

How do I set the background color of a styled div using a variable?

How do I change a background color in JS?

How do I change the background color in JavaScript?

How do I make a color background in java

How do I set combobox's background color on selected item?

How do I set the background color of a Highcharts HTML label?

Set BackGround Color of Textbox to Transparent

how can i set the background color of the TextBox in an editable ComboBox?

How do I set the background row color of emails list view in Outlook?

How do I set the background color of a listview item in WPF using databinding?

How do I make a textbox readonly only for a specific MVC Action?

How do I set the background color of the editing accessory of a table view?

How can I set Background Color for a Scene?

How do I set and get color using textbox

how to set a textbox readonly in table in jdeveleper based on another textbox value?

How do I set a background color for the theme of my entire MaterialApp?

How do I set a background color to the text inside anchor tag in html?