B4i Question Scrollview as B4XView - mcqueccu (first post)    Dec 22, 2022 Both B4A and B4i have scrollview. You don't need to declare it as B4XView before you can use it. And they work closely similar.
You can load your layout in both platforms using this same code
svScn1.Panel.LoadLayout("YOur layout") B4i Question Find within webview - Semen Matusovskiy (first post)    Feb 14, 2022 It's not a problem to scroll to absolute position. WebView has a scrollView
WebView1.As(NativeObject).GetField ("scrollView")
and you can set contentOffset. But this is incorrect way. Correct way - to use JavaScript scrollIntoView (see uiWebview_ScrollTo function in Erel's sample) B4i Question I need swipe event - Semen Matusovskiy (first post)    Aug 11, 2020   (1 reaction) As I understand, a scrollview holds some child elements (for example, ImageView) and user can drag them.
The easiest solution is to add a panel, which will be a child of RootPanel with maximum z-order index (BringToFront) . B4i Question ScrollView - Stefano Di Chiano (first post)    Nov 19, 2020   (1 reaction) It didn't solve my problem, but it made me understand where the problem could be:
basically the layout I'm loading in my scrollView has a panel with a height of 189%y. The scrollView shows only the content until 100%y of that panel and resize the items in it to fit scrollView.ContentHeight.
This is B4i Question Scrollview set directionalLockEnabled - klaus (first post)    Nov 20, 2023   (2 reactions) no.SetField("directionalLockEnabled", True) B4i Question An example of ScrollView in b4i - tufanv (first post)    Mar 13, 2017   (1 reaction) They are not different. Both use scroll.panel.addview to add views. Only difference i can remember is for b4i we use scroll.contentheight and contentwidth instead of scroll.panel.width and scroll.panel.height. B4i Question xCustomListView Scroll Behavior - Jim McDougal (first post)    Apr 02, 2024 The TextView is not editable as I am embedding clickable links in it using CSBuilder. I was previously using ScrollView as I did in the B4A version of this app which worked fine, but in B4i the SCrollView and xCustomListView implementations both exhibit the same wonky behaviors. I will continue to B4i Question how to use scrollview? - klaus (first post)    Nov 22, 2016   (1 reaction) ScrollView1.Panel.AddView(tools,0,0,0,0)
Very strange! you add a view with width = 0 and height = 0 !?
All three vies have the same Left and Top properties !?
You need to add the views on their positions and dimensions you want.
At the end you must set the Width and Height properties of ScrollView1. B4i Question Brx Pages Scrollview question - grant1842 (first post)    May 11, 2023 Ok thx
I will look at listview
I may use scroll view as scrollview
If #b4i then
Scrollview as scrollview
If b4a
Scrollview as scrollview
instrd of scrollview as B4i-Bridge view
is this acceptable way to do this B4i Question ScrollView and a visible Keyboard - TheRealMatze (first post)    Dec 29, 2021   (1 reaction) Thanks Erel,
i´ve tried to adopt the first option.
editFarmScroll has the header and the ScrollView "scroller", editFarmElements the input-fields (located in panel1).
Private Sub B4XPage_Appear
Root.LoadLayout("editFarmScroll")
scroller.Panel.LoadLayout("editFarmElements")
scroll Page: 1   2   3   4   5   6   7   Powered by ColBERT |