B4A Tutorial ScrollView example with a Panel higher than the screen - klaus    Jul 11, 2017   (11 reactions) Attached you find an example with a ScrollView with a Panel higher than the screen. The layouts are designed in the Designer, not in the code. There are 2 layout files: - Main with the ScrollView. - ScrollViewLayout has one Panel higher than the screen, 7 Label views and 7 EditText views, the Pane 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. B4A Code Snippet B4A Page scrolling in fullscreen mode using a scrollview - PaulMeuris    Jun 03, 2024   (7 reactions) In this little app example the screen is set in fullscreen mode and doesn't include a title. #Region Activity Attributes #FullScreen: True #IncludeTitle: False #End Region The layout contains a B4XSwitch, a CustomListView, a multiline edittext view and button. 154283 When the switch is off B4A Code Snippet [B4X]Index ScrollTo Heights in BBCodeView - Marked Sections & Words Occurrences - William Lancee    May 03, 2023   (8 reactions) Text = s End Sub Private Sub scrollToTop If wordHighlighted Then BBCodeView1.Text = getBBCVText wordHighlighted = False End If BBCodeView1.sv.ScrollViewOffsetY = 0 End Sub Private Sub scrollToWord(wrd As String, occurrence As Int) Dim heights As List = wordPositions B4A Question [Resolved] - ScrollView - multiple layout - klaus (first post)    Feb 06, 2020   (1 reaction) Attached you find a very simple ScrollView example with two Panels.
For simple layouts or lists I prefer ScrollViews.
It has three layout files, the main layout with the ScrollView and one layout for each Panel.
The code is very simple:
Sub Globals
Private scvTest As ScrollView
Private pnlTe B4A Library A vertical and horizontal scrollable Panel/Layout - Guenter Becker    Nov 13, 2023   (8 reactions) Version 1.1 / 2023 - UPDATED
Sometimes the layout size is bigger than your App window this rises the need to attach scrolling/swiping to the layout.
This CustomView solves this problem.
Show Layouts bigger than App Window by adding vertical and horizontal scrolling.
Automatic detect needed Layout B4A Question B4A Tabpanels: a tabbed user interface example - PaulMeuris    Jun 02, 2024   (4 reactions) The background colors for the tabpanels are set to semi-transparant in the designer. 154262 154263 154264 In the source code you can set the variable “using_scrollview” to True if you want to use a vertical scrollview when the device is in landscape mode. The layouts from the portrait mode that ar B4A Question Scroll layout - klaus (first post)    Oct 31, 2020   (3 reactions) You may have a look at this example: ScrollView example with a Panel higher than the screen. B4A Question ScrollView for numerous imageviews and labels - klaus (first post)    Apr 29, 2018   (3 reactions) Have a look here: ScrollView example with a Panel higher than the screen.
You may also have a look at: ScrollView examples summary.
Or you could use the xCustomListView Class. B4A Question Method: _add not found in: anywheresoftware.b4a.BALayout - agraham (first post)    Mar 23, 2019   (1 reaction) You have got the ScrollView but it is correctly telling you that it does not implement an Add method. From the help for Scrollview. ScrollView is a view that contains other views and allows the user to vertically scroll those views. See the ScrollView tutorial: http://www.b4x.com/forum/basic4androi Page: 1   2   3   4   5   6   7   Powered by ColBERT |