Find Element by Name

I’m new to realbasic and come from a web developing background. Is there a way to find an element by it’s name? For example, what I’m trying to do right now is go through all my textfields for a specific value. I’m creating a string that is the textfields name, but I can’t obtain the value in the textfield. Thanks

Check
http://documentation.xojo.com/index.php/Window.Control (Desktop)
http://documentation.xojo.com/index.php/WebView.ControlAtIndex (Web)

It shows you how to cycle through all the controls (elements) on a window/webpage and their names. You can modify the example code there to look at the Text property as well as name.

The text value in textfield1 is textfield1.text

Thank you Michel! That was exactly what I needed