How do i set a variable to another text fields text value?

Is this valid:

_global.TxtEnter = Label1.text;

It doesn’t seem to work. How can I get the value of the text in Entry1 over to my other variable?


Could you explain your naming conventions?

just like this: (I think that’s wut ya mean)
variable = textfield (textfield=variable name of the textfield)
variable = textfield.text(textfield=instance name of the textfield [FMX only!])