button.Enabled = True is not working

I run a function to disable all control and then I enable one of them. However, when I set btnRevise.Enabled to True, the statement is not working. I have looked the value up in debugger and btnRevise.Enable remains False even after the statement "btnRevise.Enabled = True". I have tried to change the statement to "btnRevise.Enabled = False" and it works. Any suggestion?

My Code:

Private Sub loadContractor(ByVal contractorNumber As String) Implements IAdminForm.LoadObject
_fsFormStatus = formStatus.edit

clsAdminForm.disableAllControls(Me)

MenuStrip1.Enabled = True

btnSave.Visible = False
btnSave.Enabled = False

btnRevise.Enabled = True
btnRevise.Visible = True

...
End Sub

Public MustInherit Class clsAdminForm
Public Shared Sub disableAllControls(ByRef f As Form)
For Each control As Control In f.Controls
control.Enabled = False
Next
End Sub
End Class

[956 byte] By [timmy123] at [2008-1-7]
# 1
I have found out the problem. The reason is that I have btnRevise in the main group box and I have set groupbox.Enabled = False. That is why I cannot set btnRevise.Enabled = True.
timmy123 at 2007-10-2 > top of Msdn Tech,Visual Basic,Visual Basic General...