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