Window.Controls
From Xojo Documentation
Method
Used to iterate through the controls on a Window.
Notes
All controls on the window are returned as a the Control base type. You can use the IsA operator to check the specific type to see if the control is a PushButton, Label, etc.
Sample Code
Loop through all the controls on a Window and disable only the TextFields: