Scrollview - I can't see the Seekbar

jpvniekerk

Active Member
Licensed User
Longtime User
Been playing around with setting up a ScrollView with a database.
Everything is working As I intended, except I cannot see the Seekbar.

Can anyone please look at the attached code and tell me what I need to do to see the seekbar?

Please note that the layout is also affected by Designer Scripts.

Help will be appreciated.
 

Attachments

  • ScrollView3.zip
    15.2 KB · Views: 221

klaus

Expert
Licensed User
Longtime User
What seekbar are you speeking of ?

The vertical bar:
It's normal because the internal panel of the scrollview is wider than the screen.
Move the scrollview horizontally to the most right position and then when you scroll verticaly you'll see the seekbar.

The horzontal bar:
There are two means to scroll horizontaly the scrollview.
- a 'dynamic' one, touch the blue bar at the bottom of the screen and move the finger horizontally, the scrollview will move dynamically depending on the moving speed.
- a 'standard' seekbar.

I rearranged your Activity_Create routine to make it run as you expect it to run.
I set the parent view of the seekbar from pnlScrv1Scroll back to the Activity.
I set the Value property of the seekbar back to 0 in the Designer.

The 'standard' seekbar is selected in the attached modified program.
To select the 'dynamic' seekbar set line 156 to:
B4X:
skbScrv1.Visible = False
What is the lblSlideText Label for ? It's not used.


Best regards.
 

Attachments

  • ScrollView3_1.zip
    15.3 KB · Views: 240
Upvote 0

jpvniekerk

Active Member
Licensed User
Longtime User
Klaus,

Thanks a ton!

I've actually played around with it quite a bit, and found the same issues that you mention. With your help I believe I now understand the horizontal scrolling a lot better.

lblSlideText was something I showed at one stage during my experimentation... Not used anymore.
 
Upvote 0
Top