Beja Expert Licensed User Longtime User Jan 13, 2014 #1 Today and by a mistake I forgot to add the .text extension to the right side of the assignment in a line like" Code: Copy 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: Jan 13, 2014
Today and by a mistake I forgot to add the .text extension to the right side of the assignment in a line like" Code: Copy 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
Erel B4X founder Staff member Licensed User Longtime User Jan 13, 2014 #2 The compiler should warn you about this issue: 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
The compiler should warn you about this issue: 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.