TelKel81 Active Member Licensed User Longtime User Aug 31, 2021 #1 I set Orientation to Horizontal, fill the listview with more than can be seen, but I can't scroll unless I do it programatically (ScrollToItem). It also works when I use vertical orientation + mouse wheel.
I set Orientation to Horizontal, fill the listview with more than can be seen, but I can't scroll unless I do it programatically (ScrollToItem). It also works when I use vertical orientation + mouse wheel.
Solution Erel Sep 2, 2021 To make it clear, this is equivalent to: Code: Copy Dim sp As ScrollPane = CustomListViewH.sv sp.Pannable = True @Martin D. you should click on the V button on the right side of the answer, to mark it as the solution.
To make it clear, this is equivalent to: Code: Copy Dim sp As ScrollPane = CustomListViewH.sv sp.Pannable = True @Martin D. you should click on the V button on the right side of the answer, to mark it as the solution.
LucaMs Expert Licensed User Longtime User Aug 31, 2021 #2 Yes, it is so, there is always the scrollbar. Upvote 0
Star-Dust Expert Licensed User Longtime User Aug 31, 2021 #3 Rotate your phone 90 degrees (clockwise and counterclockwise is the same) Upvote 0
LucaMs Expert Licensed User Longtime User Aug 31, 2021 #5 I think he refers to xCustomListView set horizontally. Last edited: Aug 31, 2021 Upvote 0
TelKel81 Active Member Licensed User Longtime User Aug 31, 2021 #6 The view is small in height, a scrollbar would be bad visual design. I hope rotating my screen isn't a serious answer ? I'll take it as humor. Upvote 0
The view is small in height, a scrollbar would be bad visual design. I hope rotating my screen isn't a serious answer ? I'll take it as humor.
LucaMs Expert Licensed User Longtime User Aug 31, 2021 #7 Martin D. said: I hope rotating my screen isn't a serious answer ? I'll take it as humor. Click to expand... @ Start-dust didn't realize you were talking about B4J. Upvote 0
Martin D. said: I hope rotating my screen isn't a serious answer ? I'll take it as humor. Click to expand... @ Start-dust didn't realize you were talking about B4J.
Star-Dust Expert Licensed User Longtime User Aug 31, 2021 #8 Martin D. said: The view is small in height, a scrollbar would be bad visual design. I hope rotating my screen isn't a serious answer ? I'll take it as humor. Click to expand... in fact, rotating the screen is complicated Upvote 0
Martin D. said: The view is small in height, a scrollbar would be bad visual design. I hope rotating my screen isn't a serious answer ? I'll take it as humor. Click to expand... in fact, rotating the screen is complicated
TelKel81 Active Member Licensed User Longtime User Aug 31, 2021 #10 I'd like to have a B4X approach. Upvote 0
LucaMs Expert Licensed User Longtime User Aug 31, 2021 #11 Martin D. said: I'd like to have a B4X approach. Click to expand... Yes, I agree, but...! Upvote 0
TelKel81 Active Member Licensed User Longtime User Sep 1, 2021 #12 Do we agree this is a bug that needs to be fixed eventually ? After all this is an internal library. Should I report this in "Bugs & Wishlist" ? Upvote 0
Do we agree this is a bug that needs to be fixed eventually ? After all this is an internal library. Should I report this in "Bugs & Wishlist" ?
Erel B4X founder Staff member Licensed User Longtime User Sep 1, 2021 #13 Please upload a small project that reproduces it. Upvote 0
TelKel81 Active Member Licensed User Longtime User Sep 1, 2021 #14 BTW I happen to have a mouse that can scroll horizontally and it works when I use that. I don't think this axis should be the default input for horizontal scrolling though (it's logical but not practical / user-friendly). Attachments B4J xCustomListView Test.zip B4J xCustomListView Test.zip 178.5 KB · Views: 539 Last edited: Sep 1, 2021 Upvote 0
BTW I happen to have a mouse that can scroll horizontally and it works when I use that. I don't think this axis should be the default input for horizontal scrolling though (it's logical but not practical / user-friendly).
Erel B4X founder Staff member Licensed User Longtime User Sep 1, 2021 #15 You cannot scroll it because you hid the scroll bars. xCLV is not pannable by default. You can make it pannable with: Code: Copy CustomListViewH.sv.As(ScrollPane).Pannable = True Upvote 0
You cannot scroll it because you hid the scroll bars. xCLV is not pannable by default. You can make it pannable with: Code: Copy CustomListViewH.sv.As(ScrollPane).Pannable = True
TelKel81 Active Member Licensed User Longtime User Sep 1, 2021 #16 Wonderful ! Works like a charm. Thanks a lot ! Upvote 0
klaus Expert Licensed User Longtime User Sep 1, 2021 #17 Erel said: You can make it pannable with: B4X: Copy CustomListViewH.sv.As(ScrollPane).Pannable = True Click to expand... I am afraid that I would never had come to this. I had tried something similar in that direction but with no success. This shows the power of the new As method. Upvote 0
Erel said: You can make it pannable with: B4X: Copy CustomListViewH.sv.As(ScrollPane).Pannable = True Click to expand... I am afraid that I would never had come to this. I had tried something similar in that direction but with no success. This shows the power of the new As method.
Erel B4X founder Staff member Licensed User Longtime User Sep 2, 2021 #18 To make it clear, this is equivalent to: Code: Copy Dim sp As ScrollPane = CustomListViewH.sv sp.Pannable = True @Martin D. you should click on the V button on the right side of the answer, to mark it as the solution. Upvote 0 Solution
To make it clear, this is equivalent to: Code: Copy Dim sp As ScrollPane = CustomListViewH.sv sp.Pannable = True @Martin D. you should click on the V button on the right side of the answer, to mark it as the solution.