B4i Tutorial CalcRelativeKeyboardHeight Example - Erel    May 26, 2021   (10 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 Searching for iIQKeyboardManager library for older B4i version (v8.51) - Erel (first post)    Jul 23, 2025 I'm not familiar with this library (the name is probably incorrect). I recommend using something like this: https://www.b4x.com/android/forum/threads/calcrelativekeyboardheight-example.64054/#content... 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 Library SD: ScratchCard - Star-Dust    Jan 14, 2025   (5 reactions) , Height As Int) As NSString* AddView (View As B4IViewWrapper*, Left As Int, Top As Int, Width As Int, Height As Int) As NSString* BringToFront As NSString* CalcRelativeKeyboardHeight (KeyboardHeight..., Width As Int, Height As Int) As NSString* SetParallaxEffect (Vertical As Int, Horizzontal As Int... As BOOL) As NSString* SizeToFit As NSString* Properties: Alfa As Float Color As Int Height As Int... Page: 1   2   3   4   5   6   7   |