CheckBoxs with Listview?

aymk

Member
Licensed User
Longtime User
Is it possible to create a listview with checkbox & text in B4A?
 

DonManfred

Expert
Licensed User
Longtime User
Listview does not have checkboxes! Due to this you cannot count the checkboxes
 
Upvote 0

KMatle

Expert
Licensed User
Longtime User
What about a Scrollview and do it on your own? You can put any view on it. To get access to the single view use a loop and get the single view or (better) put them in an list when you create them. Libs do it the same (android has some basic views - if you need a better/bigger/nicer one, you have to put views together or draw something). In that loop check the view's type (f.e. "checkbox") and count or do something else.

Using libs ist great (but you can't change a thing, have to pay to use them, etc.) - Doing it on your own is more work but you learn a lot.

In one of my apps I needed a progress bar in a "listview". I took a Scrollview and put simple labels on it (height 2dips) and that's it. Simple and easy.

Someone posted some examples "how they do it". Take a look here. Very impressive.
 
Upvote 0
Top