[RESOLVED] [3.0/LINQ] TextBox Controlling
Hey Everyone....This is a different question.
I know you can make a textbox readonly by simply typing
Code:
txtMyTextBox.readonly = false;
However is there anyway to make all the textboxes on a form readonly without typing out everyone one of them
thanks,
-zd
Re: [3.0/LINQ] TextBox Controlling
In response to my own stupidity
make a textbox readonly by doing this
Code:
txtMyTextBox.readonly = true;
sometimes i wonder
thanks,
-zd
Re: [3.0/LINQ] TextBox Controlling
You either put them in an array and loop through the array setting ReadOnly to true for each, or you loop through the container in which the textboxes reside, and set ReadOnly to true for each of them.