PDA

View Full Version : How do i set a variable to another text fields text value?



3dron
October 29th, 2002, 03:25 AM
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?


Ron

pom
October 29th, 2002, 03:54 AM
Could you explain your naming conventions?

andr.in
October 29th, 2002, 10:54 AM
just like this: (I think that's wut ya mean)
variable = textfield (textfield=variable name of the textfield)
or
variable = textfield.text(textfield=instance name of the textfield [FMX only!])
=)