Hola foro, quiero hacer consulta sobre variables globales, quiero que mediante un textfield pueda ingresar un valor y este me lo guarde en una variable global para poder utilizarlo en cualquier momento como se puede hacer, algun ejemplo? muchas gracias.
Create a Module and add your properties to that module. Make sure their scope is global.
Tadaaa, you’ve got yourself a global property
To set it to the contents of a text field.
you_property = textfield.text