|
-
Jan 24th, 2008, 04:34 PM
#1
Thread Starter
Lively Member
[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
-
Jan 24th, 2008, 04:35 PM
#2
Thread Starter
Lively Member
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
-
Jan 24th, 2008, 04:49 PM
#3
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|