H hitesh.k Member Apr 14, 2023 #1 Hello there In designer(b4x pages) i have added a horizontalscroll view and added items expand its width and added More items but in device b4a bridge debug mode. There is no scroll bar. My second try was made a second layout added panel and load 1st one in pannel it has scroll bar but only upto 4 items out of 7 Any help i can get.
Hello there In designer(b4x pages) i have added a horizontalscroll view and added items expand its width and added More items but in device b4a bridge debug mode. There is no scroll bar. My second try was made a second layout added panel and load 1st one in pannel it has scroll bar but only upto 4 items out of 7 Any help i can get.
watesoft Active Member Licensed User Longtime User Apr 14, 2023 #2 hitesh.k said: Hello there In designer(b4x pages) i have added a horizontalscroll view and added items expand its width and added More items but in device b4a bridge debug mode. There is no scroll bar. My second try was made a second layout added panel and load 1st one in pannel it has scroll bar but only upto 4 items out of 7 Any help i can get. Click to expand... You can place them on an layout as below image. B4X: Private Pan_Menu As Panel Private SV_Menu As HorizontalScrollView SV_Menu.Panel.AddView(Pan_Menu,0,0,Pan_Menu.Width,Pan_Menu.Height) SV_Menu.Panel.Height=Pan_Menu.Height SV_Menu.Panel.Width=Pan_Menu.Width Attachments 111.jpg 8.4 KB · Views: 594 Upvote 0
hitesh.k said: Hello there In designer(b4x pages) i have added a horizontalscroll view and added items expand its width and added More items but in device b4a bridge debug mode. There is no scroll bar. My second try was made a second layout added panel and load 1st one in pannel it has scroll bar but only upto 4 items out of 7 Any help i can get. Click to expand... You can place them on an layout as below image. B4X: Private Pan_Menu As Panel Private SV_Menu As HorizontalScrollView SV_Menu.Panel.AddView(Pan_Menu,0,0,Pan_Menu.Width,Pan_Menu.Height) SV_Menu.Panel.Height=Pan_Menu.Height SV_Menu.Panel.Width=Pan_Menu.Width
Erel B4X founder Staff member Licensed User Longtime User Apr 14, 2023 #3 In most cases it is simpler to use xCustomListView. There is an orientation property that you should set in the designer. Upvote 0
In most cases it is simpler to use xCustomListView. There is an orientation property that you should set in the designer.
H hitesh.k Member Apr 15, 2023 #4 Erel said: In most cases it is simpler to use xCustomListView. There is an orientation property that you should set in the designer. Click to expand... same thing happening with xcustomlistview changed orientation to horizontal added items 7 buttons in my case run prog but no scroll bar. Upvote 0
Erel said: In most cases it is simpler to use xCustomListView. There is an orientation property that you should set in the designer. Click to expand... same thing happening with xcustomlistview changed orientation to horizontal added items 7 buttons in my case run prog but no scroll bar.
H hitesh.k Member Apr 15, 2023 #5 watesoft said: You can place them on an layout as below image. B4X: Private Pan_Menu As Panel Private SV_Menu As HorizontalScrollView SV_Menu.Panel.AddView(Pan_Menu,0,0,Pan_Menu.Width,Pan_Menu.Height) SV_Menu.Panel.Height=Pan_Menu.Height SV_Menu.Panel.Width=Pan_Menu.Width Click to expand... hello added buttons on panel added button parent to panel loading SV_Menu.Panel.AddView(Pan_Menu,0,0,Pan_Menu.Width,Pan_Menu.Height) getting java err Upvote 0
watesoft said: You can place them on an layout as below image. B4X: Private Pan_Menu As Panel Private SV_Menu As HorizontalScrollView SV_Menu.Panel.AddView(Pan_Menu,0,0,Pan_Menu.Width,Pan_Menu.Height) SV_Menu.Panel.Height=Pan_Menu.Height SV_Menu.Panel.Width=Pan_Menu.Width Click to expand... hello added buttons on panel added button parent to panel loading SV_Menu.Panel.AddView(Pan_Menu,0,0,Pan_Menu.Width,Pan_Menu.Height) getting java err
Erel B4X founder Staff member Licensed User Longtime User Apr 16, 2023 #6 hitesh.k said: run prog but no scroll bar. Click to expand... The scroll bar only appears while the user scrolls. If the list isn't scrollable then you are doing something wrong. Best to upload a small project. Upvote 0
hitesh.k said: run prog but no scroll bar. Click to expand... The scroll bar only appears while the user scrolls. If the list isn't scrollable then you are doing something wrong. Best to upload a small project.