EditText1.Text = EditText1.Text & variable, correct syntax?

khos

Member
Licensed User
Longtime User
Hi everyone,

I am trying to use the following syntax:

EditText1.Text = EditText1.Text & somestringvariable

Is this the correct way/syntax? I want to programatically add more text to an editbox like this..

Thanks in advance.
Kim
 
Hi,
That is the correct way, if you are unsure try it on your device, set break points and watch the de-bugger you can watch all of the values change, its the best way to learn.
 
Upvote 0
Or you can always add ToastMessage like this and check

Code: Copy
ToastMessageShow(EditText1.Text & somestringvariable,False)
 
Upvote 0
Hi folks, thanks for your replies. I am using the debugger but I want to append text to an editbox in a for loop each time adding more.. wasn't sure my statement would do it :)
 
Upvote 0
Back
Top