No Scrolling on Listicongadgets on Tablets

Just starting out? Need help? Post your questions and find answers here.
Stefan
Posts: 160
Joined: Mon Feb 05, 2018 9:44 pm

No Scrolling on Listicongadgets on Tablets

Post by Stefan »

Can it be that you cannot scroll with a ListIconGadget on a tablet and smartphone?
Is there a solution for this?
Dirk Geppert
Posts: 282
Joined: Fri Sep 22, 2017 7:02 am

Re: No Scrolling on Listicongadgets on Tablets

Post by Dirk Geppert »

I haven't had any problems with it yet. Maybe you can post your source code?
Stefan
Posts: 160
Joined: Mon Feb 05, 2018 9:44 pm

Re: No Scrolling on Listicongadgets on Tablets

Post by Stefan »

Code: Select all



Enumeration
  #ranglistew
  #ranglistelv
  
EndEnumeration

OpenWindow(#RanglisteW,50,50,1000,600, "Ranglisten",#PB_Window_SystemMenu )
ListIconGadget(#RanglisteLV,50,10,800,500,"Rang",60, #PB_ListIcon_GridLines    )
AddGadgetColumn(#RanglisteLV, 1, "Name", 150)  
AddGadgetColumn(#RanglisteLV, 2, "Taler",100)  
AddGadgetColumn(#RanglisteLV, 3, "Spiele",100)  

r.s=Chr(10)
ClearGadgetItems(#RanglisteLV)
For i = 1 To 1000
  name.s= "aName "+Str(i)
  taler.s = Str(Random(100,1))
  spiele.s = Str(Random(100,1))
  zeile.s=Str(i)+r+name+r+taler+r+spiele
  AddGadgetItem(#RanglisteLV,-1,zeile)
  
  
Next i  

Doesn't work on Tablets, Ipads and Smartphones
User avatar
Paul
Posts: 195
Joined: Wed Feb 26, 2014 6:46 pm
Location: Canada
Contact:

Re: No Scrolling on Listicongadgets on Tablets

Post by Paul »

Stefan wrote: Doesn't work on Tablets, Ipads and Smartphones
Are you compiling as a web page or as an App for mobile device?
Stefan
Posts: 160
Joined: Mon Feb 05, 2018 9:44 pm

Re: No Scrolling on Listicongadgets on Tablets

Post by Stefan »

Web-Page
User avatar
Paul
Posts: 195
Joined: Wed Feb 26, 2014 6:46 pm
Location: Canada
Contact:

Re: No Scrolling on Listicongadgets on Tablets

Post by Paul »

Yes, I find the same problem here.

If the Window has the #PB_Window_Background flag then I can scroll the list on a mobile device but as a regular Window there is no scroll bar and no ability to scroll the list.
Dirk Geppert
Posts: 282
Joined: Fri Sep 22, 2017 7:02 am

Re: No Scrolling on Listicongadgets on Tablets

Post by Dirk Geppert »

Confirmed:

No Scrollbar, but scrollable: #PB_Window_Background, #PB_Window_Borderless
No Scrollbar, not scrollable: #PB_Window_SystemMenu

Relates also to both themes (flat and claro)

Edit: it works with a two-finger scroll gesture
Post Reply