S
Sven Vandamme
i want to disable of enable a groupbox with a checkbox
but it doesn't want to disable
i can enable it but not disable it again
<code>
Private Sub new_project_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
gpsub.Enabled = False
End Sub
Private Sub chbsubprojecten_CheckedChanged(ByVal sender As System.Object,
ByVal e As System.EventArgs) Handles chbsubprojecten.CheckedChanged
If chbsubprojecten.CheckState.Checked Then
gpsub.Enabled = True
Else
gpsub.Enabled = False
End If
End Sub
</code>
can anyone hep a newbie
--
Sven Vandamme
Rollegemkapelsestraat 12
8880 Sint-Eloois-Winkel
[e-mail] (e-mail address removed)
[tel] 056/509079
[GSM] 0478706801
but it doesn't want to disable
i can enable it but not disable it again
<code>
Private Sub new_project_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
gpsub.Enabled = False
End Sub
Private Sub chbsubprojecten_CheckedChanged(ByVal sender As System.Object,
ByVal e As System.EventArgs) Handles chbsubprojecten.CheckedChanged
If chbsubprojecten.CheckState.Checked Then
gpsub.Enabled = True
Else
gpsub.Enabled = False
End If
End Sub
</code>
can anyone hep a newbie
--
Sven Vandamme
Rollegemkapelsestraat 12
8880 Sint-Eloois-Winkel
[e-mail] (e-mail address removed)
[tel] 056/509079
[GSM] 0478706801