netsistemas Active Member Licensed User Longtime User Jun 15, 2022 #1 How get the active control when i capture the event IME_HeightChanged with IME object. i think set a controol in ENTERPRESSED but, the HEIGHTCHANGED are thrown bebore. and this code are bad (error) B4X: Private Sub IME_HeightChanged (NewHeight As Int, OldHeight As Int) capturarcontrol(Sender) end sub
How get the active control when i capture the event IME_HeightChanged with IME object. i think set a controol in ENTERPRESSED but, the HEIGHTCHANGED are thrown bebore. and this code are bad (error) B4X: Private Sub IME_HeightChanged (NewHeight As Int, OldHeight As Int) capturarcontrol(Sender) end sub
netsistemas Active Member Licensed User Longtime User Jun 15, 2022 #2 Semi-solved: FOCUSCHANGE are throw after. B4X: Private Sub B4XPedidoLineaPartida_FocusChanged (HasFocus As Boolean) capturarcontrol(Sender) End Sub this is a solution, but... get control in IME_HeightChanged ? Upvote 0
Semi-solved: FOCUSCHANGE are throw after. B4X: Private Sub B4XPedidoLineaPartida_FocusChanged (HasFocus As Boolean) capturarcontrol(Sender) End Sub this is a solution, but... get control in IME_HeightChanged ?
Erel B4X founder Staff member Licensed User Longtime User Jun 16, 2022 #3 The IME_HeightChanged event is initiated by the activity. It is not related to any specific control. Upvote 0