Pagepanel ceck control

Hi,

Inside a window I can perform as follow:

Dim c As Control For i As Integer = 0 To Self.ControlCount-1 c = Window.Control(i) If c IsA TextField Then TextField(c).Enabled = False End If Next

Is it possible to do a similar thing in a specific page of a pagepanel?
Thank you
BR

you mean something like

Dim c As Control
For i As Integer = 0 To pagepanel.page(i).ControlCount-1
c = pagepanel.page(i).control.Control(i)
If c IsA TextField Then
TextField(c).Enabled = False
End If
Next

No
You have to do it by finding all window controls and seeing if they are parented in the pagepanel & checking the page index of the control to know if its one on the page of the page panel