3
Answers

How to lock text boxes and other controls in the coding instead of Enable = false?

Dinusha Gamage

Dinusha Gamage

16y
2.4k
1

Dear Frieds,

I have a problem, here it is....

When you want to lock controls in the window form, What is the coding for that?

Because, there I want to lock all controls in the window form when form is loading and only allow to view data through the window form. And then When you click on the Edit button or Add New button only  that all the controls can be unlocked.

So, How do you lock text boxes?

Answers (3)