Quantcast
Channel: Our ComponentOne » All Posts
Viewing all articles
Browse latest Browse all 14170

Reply To: c1TextBox foreColor

$
0
0

Hello Scott,

As per my understanding of the issue, you have two textboxes : txtBlogText(multi line) & txtBlogEmployee(single line) on a UserControl.

After the ReadOnly property is set to True for txtBlogEmployee here :
txtBlogEmployee.ReadOnly = false;
txtBlogEmployee.Text = m_BL_Employee;
txtBlogEmployee.ReadOnly = true;
the Textbox’s Backcolor changes to Grey which is the design behavior & the same is executed by MS TextBox.

Could you please elaborate more on this statement "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" since, the Singleline textbox(txtBlogEmployee) backcolor turns to Grey after setting the ReadOnly property to True & MultiLine textbox backcolor is white (since no ReadOnly property has been set for this).

I would request you to kindly elaborate more on what is the exact requirement? Do you wish to have both the textboxes as ReadOnly with white color as their backcolor?

Please check the case with the latest C1Input Build : 2/4.0.20131.33297, which you can download from the following link :

http://prerelease.componentone.com/dotnet20/C1Input/2013-T1/

http://prerelease.componentone.com/dotnet40/C1Input/2013-T1/

You may refer to the attached sample which was correctly with this build.

Let me know if I missed something here.

Regards,
Reema


Viewing all articles
Browse latest Browse all 14170

Trending Articles