Listview1 - selection does not respond

Not sure if this is what you need:

Thanks… I'm going to study it….

Are you trying to say that the After Picking event isn't fired at all?

Set ListView.SelectionColor out of the AfterPicking can set it before picking.

I have the same behavior if set the SelectionColor inside the AfterPicking block, but it works if I set it out of the block (I don't know if it's a bug or not, but it's a bit strange behavior).

As I mentioned earlier, after changing any properties, the ListView is reset, and therefore the display of the selected item is also reset. You can get around this by reselecting the item programmatically.

1 Like

Thanks Patrik...I hadn't understood I do. It works.

(added to FAQ)

I've already tried about everything with AfterPicking in ListView1... It won't work for me. Is there any other alternative than ListView1 to display the list?


Which ListView extension can be used instead of ListView1 ?


Or you could build one using dynamic components:

This extension is not an alternative to ListView. It just adds a few extra methods to the ListView.

1 Like

Here you will find all extensions:

1 Like

If you have a wide table you could try formatting it as YAML

I used the pl.listviewplus.aix extension.
I only want to display the output from SELECT tbl MySQL vertically in the ListView.
I can't display it.
Can you advise me?


I don't see what is happening in the Web1.GotText event.


gListCelaDB is: ["1;aaaaaaaa","2;bbbbbbb","3;cccccccccc","4;dddddd"]

Remove the call to the "createList" procedure from the Initialize event. And add this call in the Web1.GotText event, under label6.Text....

Thanks! Display works!
Now ListViewPlus1.LongPress .....