CustomListView - A flexible list based on ScrollView

Status
Not open for further replies.

slydog43

Member
Licensed User
Longtime User
I can't seem to create a customlistview in the designer, when I choose a customview and try to change its type, the drop down is empty. 3.82

any ideas?

I'm a moron, forgot to add the customlistview.bas to my project
 
Last edited:

GMan

Well-Known Member
Licensed User
Longtime User
Did you load the depending class, too ?
It shoud appear as a additional tab in the IDE

After oading the class, the DropDown-Field of the type was filled
 

bluedude

Well-Known Member
Licensed User
Longtime User
For some reason i'm not able to change the background color of the list. My activity color is white and I set the Listview to transparant.
 

omidaghakhani1368

Well-Known Member
Licensed User
Longtime User
it's good but how detect scrollposition?
example i want when scroll go to fifth item that again load 5 item?
 

Shay

Well-Known Member
Licensed User
Longtime User
Hi
if I have only 1 item in the list, there is gray background
how do I overcome this? I wish to have the gray line below the item
(I wish it to look nice even if I have 1 item)
 

Shay

Well-Known Member
Licensed User
Longtime User
I am not sure you understood me
can you take your example, and use only the code (not layout)
and use the for from 1 to 1, and see the screen
 

Shay

Well-Known Member
Licensed User
Longtime User
Yes this is it
I will add my 2 cents, since it was hard to understand:
The color need to be set on the CustomListView class, under:
Public Sub Initialize (vCallback As Object, vEventName As String)
 

tunderin

Member
Licensed User
Longtime User
Take a look at my post here
 

vinnythepooh71

Member
Licensed User
Longtime User
I am using this class in the form of the second example, and it is working ok, but i was wondering if it was possible to avoid the blue flash when the panel area is clicked
 

vinnythepooh71

Member
Licensed User
Longtime User
Looks like i have a new problem , the log gives me an error in the customlistview code t at line 155

If Index = items.Size Then
items.Add(Value)
panels.Add(p) <--- error occurs here
Dim top As Int
If Index = 0 Then top = dividerHeight Else top = sv.Panel.Height
sv.Panel.AddView(p, 0, top, sv.Width, ItemHeight)
Else
...
 

vinnythepooh71

Member
Licensed User
Longtime User
Maybe i don't know how to use the log, becasue i see that old errors are reported even with new sessions , sorry for that
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…