B4J Question Going Textfield.text together

codie01

Active Member
Licensed User
Longtime User
Hi All,

I am trying to join two textfields.text together and display them in an index label.text. I was sure I could do this in b4a

Thanks in advance

/
B4X:
#Region  Project Attributes 
    #MainFormWidth: 600
    #MainFormHeight: 400 
#End Region

Sub Process_Globals
    Private fx As JFX
    Private MainForm As Form
    Private siteform_subdivision As TextField
    Private siteform_lot  As TextField
    Private siteform_siteindex As Label
End Sub

Sub AppStart (Form1 As Form, Args() As String)
    MainForm = Form1
    MainForm.RootPane.LoadLayout("simplix_siteform") 'Load the layout file.
    MainForm.Show
End Sub
Sub siteform_lot_TextChanged (Old As String, New As String)

End Sub
Sub siteform_subdivision_TextChanged (Old As String, New As String)
    siteform_siteindex.Text = siteform_subdivision.Text + siteform_lot.Text
   
   
End Sub

/[Code]
 
Top