Name
Listview.GetSelection -- get selected entries
Synopsis
t = mui.DoMethod(id, "GetSelection")
Function
This method steps through the contents of a (multi select) listview and returns every entry that is currently selected. When no entry is selected but an entry is active, only the active entry will be returned.

This behaviour will result in not returning the active entry when you have some other selected entries somewhere in your list. Since the active entry just acts as some kind of cursor mark, this seems to be the only sensible possibility to handle multi selection together with keyboard control.

Inputs
id
id of the listview object
Results
t
table containing selected entries

Show TOC