romario87027 Active Member Licensed User Longtime User Jan 9, 2014 #1 I have a problem, I can not figure out how to handle the event TextField_Action on a column of a TableView. B4X: Dim txtColliOrd As TextField txtColliOrd.Initialize ("") txtColliOrd.Text = 0 Dim row(10) As Object row(0)= ESPCEAN row(1)= ADE1ADE2ADE3 row(2)= AQT2 row(3)= GIACENZAOK row(4) = A101PRZN row(5) = A1PBA & "x" & A1PAL &"="& A1BLT row(6) = AART row(7) = RAGSOC1 row(8) = iv1 row(9) = txtColliOrd tblArticoli.Items.Add(row) How can I handle this event? B4X: Sub txtColliOrd_Action End Sub thanks
I have a problem, I can not figure out how to handle the event TextField_Action on a column of a TableView. B4X: Dim txtColliOrd As TextField txtColliOrd.Initialize ("") txtColliOrd.Text = 0 Dim row(10) As Object row(0)= ESPCEAN row(1)= ADE1ADE2ADE3 row(2)= AQT2 row(3)= GIACENZAOK row(4) = A101PRZN row(5) = A1PBA & "x" & A1PAL &"="& A1BLT row(6) = AART row(7) = RAGSOC1 row(8) = iv1 row(9) = txtColliOrd tblArticoli.Items.Add(row) How can I handle this event? B4X: Sub txtColliOrd_Action End Sub thanks
Erel B4X founder Staff member Licensed User Longtime User Jan 9, 2014 #2 You should set the EventName parameter. This parameter defines which subs will handle the events: B4X: txtColliOrd.Initialize ("txtColliOrd") 'instead of the empty string Upvote 0
You should set the EventName parameter. This parameter defines which subs will handle the events: B4X: txtColliOrd.Initialize ("txtColliOrd") 'instead of the empty string