Android Question Bug or undocumented feature?

Beja

Expert
Licensed User
Longtime User
Today and by a mistake I forgot to add the .text extension to the right side of the assignment in a line like"
B4X:
EditText2.Text = EditText2 & "bla bla"
The result was all the properties of EditText2 view placed clearly on the EditText box at runtime!!
something like the (EditText): Left = 530 ... and so on.
I thought these properties' values were compiled to hex machine code and they should not show
at runtime in plain text.

Any explanation?

I was using b4a v3
 
Last edited:

Erel

B4X founder
Staff member
Licensed User
Longtime User
The compiler should warn you about this issue:
SS-2014-01-13_08.08.32.png


The object is converted to string. Many objects have a useful debugging mostly method (toString) that is called when the object is converted to string.
 
Upvote 0
Top