Pooya1 Active Member Licensed User Jun 20, 2018 #1 My below code have no problem when i use simple keyboard(English or other language) But when i select Emoji keyboard,my calculation about Keyboardheight is wrong My code is Code: Copy Sub Page1_KeyboardStateChanged (Height As Float) If Height > 0 Then pnlcomment.Top = Page1.RootPanel.Height-pnlcomment.Height-Height Else pnlcomment.Top = Views.GetRealPageSize(Page1).Bottom - pnlcomment.Height End If End Sub When i change language to emoji,this event return value but it is wrong How do can i show textbox panel on top keyboard in all language or any size keyboard? Attachments photo_2018-06-20_20-54-36.jpg 137.3 KB · Views: 718
My below code have no problem when i use simple keyboard(English or other language) But when i select Emoji keyboard,my calculation about Keyboardheight is wrong My code is Code: Copy Sub Page1_KeyboardStateChanged (Height As Float) If Height > 0 Then pnlcomment.Top = Page1.RootPanel.Height-pnlcomment.Height-Height Else pnlcomment.Top = Views.GetRealPageSize(Page1).Bottom - pnlcomment.Height End If End Sub When i change language to emoji,this event return value but it is wrong How do can i show textbox panel on top keyboard in all language or any size keyboard?
Erel B4X founder Staff member Licensed User Longtime User Jun 24, 2018 #41 Pooya1 said: Yes it is working fine but in Emoji keyboard if you care Click to expand... As you can see in the screenshot I posted above, I tested it with Emoji keyboard. Anyway you will need to find a workaround as the height passed to this event comes from the OS API directly. Upvote 0
Pooya1 said: Yes it is working fine but in Emoji keyboard if you care Click to expand... As you can see in the screenshot I posted above, I tested it with Emoji keyboard. Anyway you will need to find a workaround as the height passed to this event comes from the OS API directly.