B4i Tutorial CalcRelativeKeyboardHeight Example - Erel    May 26, 2021   (9 reactions) -keyboard-handling.131078/ A new method was added to all views named CalcRelativeKeyboardHeight. With this method you can calculate the keyboard's top line relatively to the current view... Page1_KeyboardStateChanged (Height As Float) Dim TableViewMaxHeight As Int = TableView1.BaseView.CalcRelativeKeyboardHeight(Height) Dim TableViewMaxHeightWithNoKeyboard As Int = Page1.RootPanel.Height - 10dip....CalcRelativeKeyboardHeight(Height), _ Page1.RootPanel.Height - 10dip - CustomListView1.GetBase.Top) End... B4i Question xCustomListView doesn't have the method "CalcRelativeKeyboardHeight" - Mike1970    Dec 13, 2019 Why xCustomListView doesn't have the method "CalcRelativeKeyboardHeight"?... B4i Question CalcRelativeKeyboardHeight CustomListView - Erel (first post)    Mar 29, 2020   (1 reaction) Try this example: https://www.b4x.com/android/forum/threads/b4x-cross-platform-chat-layout-example.112649/#content... Other B4i v2.50 is released - Erel    Apr 11, 2016   (19 reactions) can be set. TextView new events: BeginEdit, EndEdit and TextChanged. View.CalcRelativeKeyboardHeight: Important new method that helps with the calculation of the keyboard top point relatively to the current... B4i Question View over the keyboard - Alexander Stolte    May 21, 2018 this Function: "CalcRelativeKeyboardHeight".
This do not work:
pnl_ground.Top = pnl_ground.CalcRelativeKeyboardHeight(Height)
How can i calculate the top value, so i can place my view over... B4i Question Keyboard hides TextViews in Scrollview after IOS 11.4 update - Segga    Jun 2, 2018 I've been using CalcRelativeKeyboardHeight in pg_KeyboardStateChanged to make the TextViews in my ScrollView layout accessible.
sv.Height = Min(sv.CalcRelativeKeyboardHeight(Height), pg.RootPanel.Height-10-sv.Top)
Since updating to IOS 11.4, the bottom TextViews are now totally hidden by the keyboard.
Any advice appreciated.... B4i Question [RESOLVED] - CLV + Page1_KeyboardStateChanged - ddefrain (first post)    Jun 5, 2023 .CalcRelativeKeyboardHeight(Height)
If rel = 0 Then rel = clvSettings.AsView.Height
clvSettings.sv.Height = Min(rel, clvSettings.AsView.Height)
End Sub
Thank's it works like a charm 🙌
Best Regards...
This is the Fix
Sub pg_KeyboardStateChanged (Height As Float)
' // https://www.b4x.com... B4i Question B4XFloatTextField keyboard hiding views. - Erel (first post)    May 31, 2020 CalcRelativeKeyboardHeight is a bit confusing however there is a tutorial about it: https://www.b4x.com/search?query=CalcRelativeKeyboardHeight... B4i Question ScrollView and a visible Keyboard - Erel (first post)    Dec 28, 2021 This is the best option: https://www.b4x.com/android/forum/threads/b4x-b4xpages-customlistview-keyboard-handling.131078/ Another option: https://www.b4x.com/android/forum/threads/calcrelativekeyboardheight-example.64054/#content... B4i Question [SOLVED] Keyboard is overlapping a text field / Can Apple reject the App? / Scrolling possible? - Erel (first post)    Apr 8, 2021 Finding the keyboard offset can be a bit tricky. See this example: https://www.b4x.com/android/forum/threads/calcrelativekeyboardheight-example.64054/#content... Page: 1   2   3   4   5   6   7   |