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

From Dev

Set textbox to readonly and background color to grey in jquery

From Dev

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

From Dev

How do you change the text color of a readonly TextBox?

From Dev

How do I set and get color using textbox

From Dev

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

From Dev

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

From Dev

How do I set the component background to a specific color in JGraphX?

From Dev

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

From Dev

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

From Dev

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

From Dev

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

From Dev

Set BackGround Color of Textbox to Transparent

From Dev

Set BackGround Color of Textbox to Transparent

From Dev

How can I set Background Color for a Scene?

From Dev

How can I set Background Color for a Scene?

From Dev

Set background-color of first word in textbox?

From Dev

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

From Dev

How do I set the background-color of buttons in the sass version of foundation?

From Dev

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

From Dev

How do I set the background-color of buttons in the sass version of foundation?

From Dev

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

From Dev

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

From Dev

In GIMP 2.10 - How do I set it so that the background is always transparent and not a solid color?

From Dev

Winforms chart: how to enable background color gauge

From Dev

How to change the background color in a rectangle in a winforms grid?

From Dev

In WPF code-behind, how do I set the background color for each individual ListBoxItem where the color is based on the item itself?

From Dev

Winforms how do I set datagridviewtextboxcolumn's text?

From Dev

How do I set background image to a Canvas

From Dev

How to select (highlight) text in a .NET TextBox that is set for ReadOnly?

Related Related

  1. 1

    Set textbox to readonly and background color to grey in jquery

  2. 2

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

  3. 3

    How do you change the text color of a readonly TextBox?

  4. 4

    How do I set and get color using textbox

  5. 5

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

  6. 6

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

  7. 7

    How do I set the component background to a specific color in JGraphX?

  8. 8

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

  9. 9

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

  10. 10

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

  11. 11

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

  12. 12

    Set BackGround Color of Textbox to Transparent

  13. 13

    Set BackGround Color of Textbox to Transparent

  14. 14

    How can I set Background Color for a Scene?

  15. 15

    How can I set Background Color for a Scene?

  16. 16

    Set background-color of first word in textbox?

  17. 17

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

  18. 18

    How do I set the background-color of buttons in the sass version of foundation?

  19. 19

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

  20. 20

    How do I set the background-color of buttons in the sass version of foundation?

  21. 21

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

  22. 22

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

  23. 23

    In GIMP 2.10 - How do I set it so that the background is always transparent and not a solid color?

  24. 24

    Winforms chart: how to enable background color gauge

  25. 25

    How to change the background color in a rectangle in a winforms grid?

  26. 26

    In WPF code-behind, how do I set the background color for each individual ListBoxItem where the color is based on the item itself?

  27. 27

    Winforms how do I set datagridviewtextboxcolumn's text?

  28. 28

    How do I set background image to a Canvas

  29. 29

    How to select (highlight) text in a .NET TextBox that is set for ReadOnly?

HotTag

Archive