Yazh
New Member
can text box auto change value? like picture below?
i used code
but didn't work, i need like vb code
Private Sub label1_change()
.................
end sub
one more, if i use code
Label2 or label1 format Label1.Text= NumberFormat(Label1.Text,0,0)
label3.text can't get value My apps came out straight away
can tell me the code
sorry about my english
i used code
B4X:
Sub Globals
'These global variables will be redeclared each time the activity is created.
'These variables can only be accessed from this module.
Private Label1 As Label
Private Label2 As Label
Private Label3 As Label
End Sub
Sub Activity_Create(FirstTime As Boolean)
'Do not forget to load the layout file created with the visual designer. For example:
'Activity.LoadLayout("Layout1")
End Sub
Private Sub label1_FocusChanged(Hasfocus As Boolean)
Label3.text = Label1 * Label2
'Label3.Text= NumberFormat(Label3.Text,0,0) '< Is this true code for number format?
End Sub
but didn't work, i need like vb code
Private Sub label1_change()
.................
end sub
one more, if i use code
Label2 or label1 format Label1.Text= NumberFormat(Label1.Text,0,0)
label3.text can't get value My apps came out straight away
can tell me the code
sorry about my english