Hi,

I have a form that when i click edit i want to be able to unlock all the text boxes and combo boxes on my form. In VB6 i used to do:

Code:
Dim xControl as control
on error resume next
For each xControl in frmForm
    xControl.locked = false
next
on error goto 0
any ideas how to do it in vb.net?

many thanks
Nick