B4i Tutorial CalcRelativeKeyboardHeight Example - Erel    May 26, 2021   (9 reactions) Better implementation: https://www.b4x.com/android/forum/threads/b4x-b4xpages-customlistview-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. This is useful wit B4i Tutorial B4i Change Log (versions history) - Erel    Dec 04, 2024   (1 reaction) Launch images for iPhone 4 are included by default. Debugger improvements, especially relevant to large projects. It is now possible to override main.m and Project-Info.plist by putting the files in the special folder. #Target attribute: Allows targeting iPhone, iPad or both (default). #MinVersion: 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 B4i Question xCustomListView doesn't have the method "CalcRelativeKeyboardHeight" - Erel (first post)    Dec 15, 2019   (1 reaction) Dim v As View = clv.AsView
v.CalcRelativeKeyboardHeight(...)
This code is from B4XPreferencesDialog, it might be useful:
Dim p As View = CustomListView1.AsView.Parent.Parent
Dim rel As Int = p.CalcRelativeKeyboardHeight(Height)
If rel = 0 Then rel = CustomListView1.AsView.Height
CustomListView1.s 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 [RESOLVED] - CLV + Page1_KeyboardStateChanged - Jmu5667 (first post)    Jun 02, 2020   (4 reactions) This is the Fix
Sub pg_KeyboardStateChanged (Height As Float)
' // https://www.b4x.-doesnt-have-the-method-calcrelativekeyboardheight.112175/#post-699655
Dim p As View = clvSettings.AsView.Parent.Parent
Dim rel As Int = p.CalcRelativeKeyboardHeight(Height)
If rel = 0 Then rel = c Other B4i v2.50 is released - Erel    Apr 11, 2016   (19 reactions) #MinVersion: Sets the minimum version. Default value is 7.0. #CustomBuildAction: Similar to B4J and B4A attribute. Currently the only step available is 1 (beginning of compilation). Notification.NotificationTag - A string that is tied to the notification and can be retrieved when the user clicks on B4i Question B4i Bug? View doesn't swipe up when Keyboard appears since updating to B4i v7.00 - Rokko (first post)    Mar 05, 2021 I still need some time with a small example but while trying to find the mistake we figured out that neither pg_KeyboardStateChanged (Height As Float) nor Page.RootPanel.CalcRelativeKeyboardHeight(Height) calculates the right height. You can check this with -(void)keyboardWasShown:(NSNotification * B4i Library iRangeBar Library - walterf25    Jan 07, 2021   (4 reactions) Hello everyone, i am please to post my first B4i wrapped library, i am working on a project for a customer and I had the need to use a RangeBar view, after trying to create one with B4X and not getting the results i wanted I decided to search online for something that could be wrapped easily, after B4i Question View over the keyboard - Alexander Stolte    May 21, 2018 Hello,
i did a tutorial on how to place a view over the keyboard on android.
But now i'm on IOS, i have search in the Forum here, but I did not find anything that helped me.
I found this Function: "CalcRelativeKeyboardHeight".
This do not work:
pnl_ground.Top = pnl_ground.CalcRelativeKeyboardHe Page: 1   2   3   4   5   6   7   Powered by ColBERT |