ScrollView

roarnold

Active Member
Licensed User
Longtime User
Morning,

I, with Steve's help, got the app running with HSV. It appears that the dynamics changed and I need to implement ScrollView. So I changed only the :

HSV.Panel.AddView(....) to ScrollView1.Panel.Addview(...) to my surprise the on ly thing that shows up is the two buttons at the top for "Back" and "Next".

One thing I tried is added a label via designer, as all the code was done by hand, and it shows after compile when nothing else does but the buttons.

Is there something I am doing wrong?

Thanks,
R
 

stevel05

Expert
Licensed User
Longtime User
You have initialized the scrollview in Activity create:

B4X:
ScrollView1.Initialize(660dip)

which is not needed as you have added it in the designer. Remove this line.

Use
B4X:
ScrollView1.Height = 660dip
if you want to set the height.
 
Last edited:
Upvote 0

roarnold

Active Member
Licensed User
Longtime User
Steve,

That did it. I thought when placing SV in designer you did not need to initialize it but I received an error.

Anyway, its working.

Thank You Kindly,
R
 
Upvote 0
Top