How to save TextField input into a variable ?

Hello everyone,
I am newbee at programming and especially xojo, which i started to learn today.

Today i was looking for a way to get user input text from TextField and place that value into a variable.

Any ideas about how to do that ?

I looked in documentation and i couldn’t find any reference about getting user input from a TextField.

Thank you

You can access the contents of a TextField by referencing its Text property.

Dim myvariable As String = myTextField.Text

Thank you :slight_smile: you really helped me to make my first simple app !

I would recommend you have a look at the tutorials http://developer.xojo.com/kb/learn-coding. There’s some really good stuff in there to get you going on the right path.