This code snippet shows you:
Hope it helps!Code:if (checkBox1.checked) { textBox1.Enabled = true; textBox1.Focus(); } else { textBox1.Enabled = false; }
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 4 of 4
Thread: Textbox questionThreaded View
|
Click Here to Expand Forum to Full Width |