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 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 * 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 Keyboard hides TextView on popup - red30    May 15, 2021 I tried to use the example from the CalcRelativeKeyboardHeight Example and found a strange bug there. If I call the keyboard, then everything moves up (this is how it should be), but now if I move the list up and call the keyboard again (by clicking on the TextView), then the list is accidentally sc B4A Example B4Xgoodies_from_walt61 Online - AnandGupta (first post)    Jun 01, 2021   (1 reaction) B4R Library B4R LED rTM1637Ex rTM1637Ex is an open source B4R library for writing to TM1637 7-segment-displays connected to microcontroller, like Arduino. B4A Tutorial Drawing JPCT-AE Polyline Example JPCT-AE Polyline Example B4X Tutorial List- and scrollview CustomListView + Keyboard handling Page: 1   2   3   4   5   6   7   Powered by ColBERT |