How to get checked item in listview?


I am designing a form where user can assign more than one employees to a task. I have a task form in grid view. Since one task can have more than one employees and hence I am thinking of creating a form with listview where I populate the listview with employee’s name from employee table. I want the user to assign employee by checking the checkbox in the listview then assign the selected employee name to employee field on task form. However, I don’t know how to check for checked item. FormListNext::Selected can only use to detect highlighted selection eventhough checkbox has not been checked. How can I solve this problem?

Is there any better solution?

Thank you