Android Question Sequence of EditText1.Text in B4A?

Adnan Ali Awan

New Member
Hello,
Just trying to add two number which i give in the relative edit boxes and the sum is suppose to show in another editbox with the name of edittext3
I just tried playing around and realized that :

Sub Calculate_Click
Dim X As Double
Dim Y As Double
Dim Z As Double
X=EditText1.Text
Y=EditText2.Text
Z= X + Y
End Sub
Z=EditText3.Text isn't equal to EditText3.Text = Z
Can anybody explain me why it is like that? Has it sth to go with get and set value of editbox?





End Sub
 
Top