Hi Support
I have the following textbox on a user control
this.txtBlogText.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.txtBlogText.BorderColor = System.Drawing.SystemColors.Control;
this.txtBlogText.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.txtBlogText.Location = new System.Drawing.Point(7, 34);
this.txtBlogText.Multiline = true;
this.txtBlogText.Name = "txtBlogText";
this.txtBlogText.Size = new System.Drawing.Size(631, 18);
this.txtBlogText.TabIndex = 5;
this.txtBlogText.TabStop = false;
this.txtBlogText.Tag = null;
this.txtBlogText.TextChanged += new System.EventHandler(this.txtComments_TextChanged);
This is one of two text boxes (the other txtBlogEmployee which is a single fixed line), the one noted above is multi line. During the load of the control data is passed, during this the textboxes have the following code in a set constructor
txtBlogEmployee.ReadOnly = false;
txtBlogEmployee.Text = m_BL_Employee;
txtBlogEmployee.ReadOnly = true;
Both controls have white backcolors (Syste.Control), on the single line control the control remains white after it is populated, the multi line goes grey and I need this additional code
txtBlogText.ReadOnly = true;
txtBlogText.BackColor = Color.White;
Is this a bug?
Kind Regards
Scott