aeric Expert Licensed User Longtime User Aug 7, 2025 #1 I think I need to modify CustomListView to support this feature. I want to drag the panel like a ScrollPane. Maybe someone already have a solution?
I think I need to modify CustomListView to support this feature. I want to drag the panel like a ScrollPane. Maybe someone already have a solution?
Solution stevel05 Aug 8, 2025 PaulMeuris said: If you click on the first item in the CustomListView the following error occurs Click to expand... Fixed
PaulMeuris said: If you click on the first item in the CustomListView the following error occurs Click to expand... Fixed
stevel05 Expert Licensed User Longtime User Aug 8, 2025 #21 PaulMeuris said: If you click on the first item in the CustomListView the following error occurs Click to expand... Fixed Attachments CLVMouseScroll3.zip 5.2 KB · Views: 50 Upvote 0 Solution
PaulMeuris said: If you click on the first item in the CustomListView the following error occurs Click to expand... Fixed
aeric Expert Licensed User Longtime User Aug 10, 2025 #22 Thanks Paul for the example code for using ScrollPane. It will be very useful. However, I choose Steve's answer for my question. Even though I need to add some code for CustomListview, I prefer to use it instead because of some advantages. Upvote 0
Thanks Paul for the example code for using ScrollPane. It will be very useful. However, I choose Steve's answer for my question. Even though I need to add some code for CustomListview, I prefer to use it instead because of some advantages.
aeric Expert Licensed User Longtime User Aug 25, 2025 #23 Here is an update. I get an error when running the code on Linux. SBV is null. B4X: Dim visibleHeight As Double = SBV.RunMethod("getVisibleAmount", Null) * contentHeight I changed it to: B4X: Dim visibleHeight As Double = GetScrollBar(SP, "VERTICAL").RunMethod("getVisibleAmount", Null) * contentHeight And it is now working on Linux too. SBV can be removed. My code is updated on GitHub https://github.com/pyhoon/CLVMouseScroll-B4J Last edited: Aug 25, 2025 Upvote 0
Here is an update. I get an error when running the code on Linux. SBV is null. B4X: Dim visibleHeight As Double = SBV.RunMethod("getVisibleAmount", Null) * contentHeight I changed it to: B4X: Dim visibleHeight As Double = GetScrollBar(SP, "VERTICAL").RunMethod("getVisibleAmount", Null) * contentHeight And it is now working on Linux too. SBV can be removed. My code is updated on GitHub https://github.com/pyhoon/CLVMouseScroll-B4J