Hi guys,
I have to 2 EditText, ArtCdTxt & QtyCdTxt.
There is an event for ArtCdTxt
Those code just for ex, when QtyTxt clicked, Message Box throw just one and then focus return to ArtCdTxt.
But if I add these event on QtyTxt
Something weird happen. When I clicked QtyTxt, ArtCdTxt_FocusChanged is always trigger, Message box show up again and again in a loop.
Is there something wrong with my logic or there is a bug in ShowKeyboard?
I have to 2 EditText, ArtCdTxt & QtyCdTxt.
There is an event for ArtCdTxt
B4X:
Sub ArtCdTxt_FocusChanged (HasFocus As Boolean)
If(Not(HasFocus)) Then
Msgbox("2","")
ArtCdTxt.RequestFocus
End If
End Sub
Those code just for ex, when QtyTxt clicked, Message Box throw just one and then focus return to ArtCdTxt.
But if I add these event on QtyTxt
B4X:
Sub QtyTxt_FocusChanged (HasFocus As Boolean)
If(HasFocus) Then
IME.ShowKeyboard(QtyTxt)
End If
End Sub
Is there something wrong with my logic or there is a bug in ShowKeyboard?