Hii experts,
I'm new to b4a custom view, so please help me.
I'm trying to create edittext custom view, add I want to add textchange event
my code is :
whats wrong?
I'm new to b4a custom view, so please help me.
I'm trying to create edittext custom view, add I want to add textchange event
my code is :
B4X:
Public Sub DesignerCreateView (Base As Panel, Lbl As Label, Props As Map)
mBase = Base
edittext.Initialize("")
Base.AddView(edittext,0,0,Base.Width,Base.Height)
End Sub
Private Sub edittext_TextChanged(old As String,new As String)
Log("text changed event working")
If SubExists(mCallBack,mEventName & "_TextChanged") Then
CallSub(mCallBack,mEventName & "_TextChanged")
End If
End Sub
whats wrong?