Hello,
i want to disable all controls on a window which works this way:
[code]
dim c as control
For i As Integer = 0 To main.ControlCount - 1
c = main.Control(i)
If c IsA RectControl then
Rectcontrol©.enabled=false
End if
Next
cmspref.Enabled=true
return true[/code]
after the for…next loop i want to enable again only one control with “cmspref.Enabled=true” but it does not getting enabled, why?