Hi all,
I am facing a problem with IME library. I have added the following code in the activity_create event
and this code for the event:
The application is not in full screen mode and yet it does not get in the event at all. Nothing is logged and no message box is showing...
Am I missing something here? Some help would be highly appreciated.
Thanks,
Nikolaos
P.S. The setcustomfilter commands are working properly...
I am facing a problem with IME library. I have added the following code in the activity_create event
B4X:
IME3.Initialize("IME3")
IME3.SetCustomFilter(txtHour,txtHour.INPUT_TYPE_NUMBERS,"0123456789")
IME3.SetCustomFilter(txtMinute,txtMinute.INPUT_TYPE_NUMBERS,"0123456789")
IME3.AddHeightChangedEvent
and this code for the event:
B4X:
Sub IME3_HeightChanged (NewHeight As Int, OldHeight As Int)
Log("Μπήκα στο HeightChange")
Msgbox (NewHeight & CRLF & lngOriginalHeight,"Title")
If NewHeight < lngOriginalHeight Then
If pnlSetThis.Visible = True Then
pnlSetThis.Top = NewHeight - pnlSetThis.Height
End If
If pnlCopyHours.Visible = True Then
pnlCopyHours.Top = NewHeight - pnlCopyHours.Height
End If
Else
If pnlSetThis.Visible = True Then
pnlSetThis.Top = lngStartHpnlSetThis
End If
If pnlCopyHours.Visible = True Then
pnlCopyHours.Top = lngStartHpnlCopyHours
End If
End If
End Sub
The application is not in full screen mode and yet it does not get in the event at all. Nothing is logged and no message box is showing...
Am I missing something here? Some help would be highly appreciated.
Thanks,
Nikolaos
P.S. The setcustomfilter commands are working properly...