Based on post #14 in this thread I created a simple application, just to show a long scrollable text.
Now I need to find a word within the text and position the view on that word.
Could anyone help?
The hole "project" is below and the long text (not that long, just to help...) is attached:
in this code which is in a loop, I wish to test every view.
'lst' is a list containing all the views of the designer
For each ...
Dim w As CustomListView=lst.Get(i)
If w.AsView Is ScrollView(or CustomListView) Then
I try to use custom controlls on the ScrollView.
1) I load the layouts with b4xplusminus controls,
2) I make the array of the controls and with panels with the code:
Mood = Array As B4XPlusMinus (B4XPlusMinus1, B4XPlusMinus2, B4XPlusMinus3,B4XPlusMinus4)
pan = Array As Panel...
First post to the community and have searched hi and low for the answer (I promise - but do shame me if I have missed the answer!)
I am trying to handle the screen layout when the keyboard is active, so the screen would essentially push of the top of the screen until the keyboard has...
hi everyone, i was using the scrollview but i don't know why if i load a layout in the scrollview, when i scroll it goes out of the scrollview D:
scrlInfo.SetShadow(Colors.Black, 0, 0, 0.2, False)
scrlInfo.Visible = False
in this Example i want to show you, how to use the ASTabMenu togehther with the xCustomListView, to handle a lot of Tabs without getting into layout problems.
Attached is a B4A Example.
How to use?
it is easy.
Add a xCustomListView to the form
Add a new Form with only the...
I have a layout named PNLS
In PNLS I have 2 labels and 1 EditText TXTS
With a loop, I add some panels PNLS in a scrollview named SCV
I invite the user to entrer datas in the editTexts named TXTS
How can I get the texts of each editText (to next insert in a SQLite...
Hi everyone, i'm trying to code an app structued like so:
- Splash Screen where i test internet connection
- Login Form
- Home (With a Scroll view inside)
After Login will appear Home page and then the KeyController will switched to TabBarController.
Doing like so the ScrollView get blank and...
Hi to everyone.
I have this code inside firstime of an activity:
ScrollView1.Left = 0
ScrollView1.Width = Activity.Width
Lesson 24 is about the scrollview. One can use this to host divs and other stuff that they might need to scroll.
In this example we have created a scrollview with both X and Y scrolling active. To demonstrate this we set the width and height of the scrollview to be minimal and just...
I develop the cross-platform version of the ScrollView2D library.
XUIScrollView was developed all from scratch.
xScrollView is a wrapping of the native ScrollView but which standardizes the commands so that they can be used cross-platform.
Everyone can choose which one is best suited to their...
I develop the XUI version of the ScrollView2D library that created @Informatix. I did not base myself on its code but developed everything from scratch. It is still unripe, but it works well and is not very heavy. Clearly for iOS already the native ScrollView is 2D as well as for Desktop...
I try to create scrollview(A), then I load layout,
and inside that I create :
B. another layout
C. panel inside that layout
D. then, listview
1. how to make the scrollview (A) & panel that hold listview (B) have dynamic height based on listview (D) height content ?
I see the "scrollview" view.
My issue: It appears you can't set this up in the designer to hold other views.
I see after a search that it can be done programmatically.
However, I really need the ability to set it up in the designer.
Should I give up or is there a custom component available...
This is my first question, so please bear with me.
I am reading a field from SQLite to populate a Label inside a ScrollView that sits on a tab in a TabStrip.
It all seems to be working fine, but it seems that the very long text strings are being truncated. For example, one string in the DB is...
Although B4i works nicely with a ScrollView inside a Scrollview, B4A does not.
Is there a way to make it happen for Android?
I have a large Scrollview for the bulk of the screen, then inside that large Scrollview I have some labels and two smaller Scrollviews. Each of the smaller Scrollviews...
Hola amigos, ¿ es posible ocultar la sombra del scroll sea vertical u horizontal ?
verán tengo unas opciones dentro de un control scroll horizontal...
sin la sombra estoy seguro que se vería mejor, como lograr esto con b4a
I'm a newbie B4A. Please help me.
I Create a lay out with two labels and one Scrollview. Two labels have the same height (40dip). I set one at the top and the last one at the bottom. The scrollview is middle of two labels. I use script general code as below:
'All variants script...