Good Morning All,
Let me start by saying I am completely new to programming in c#, however I do have some VBA experience. That being said I have hopefully a simple thing I am stuck on.
On a windows form I have a textbox that I have set READONLY = TRUE.
I have created a "EDIT" button, once clicked it makes the box writeable and puts cursor to front.
{
txtBodyOpen.ReadOnly = false;
txtBodyOpen.Focus();
txtBodyOpen.SelectionStart = 0;
txtBodyOpen.SelectionLength = 0;
}
The issue is the box always stays greyed out when I want the user to edit the box. I was looking to change the background color of the box back to WHITE, to show the user that its EDITABLE when I click button.
Can't seem to find anything that works to change text background color back to white?
much appreciated!