how do i create a function that executes when an item in a listbox is double clicked on? it has to be a double click on an item and not anywhere in the listbox. the item index or name has to be passed as an argument of the function.

thanks.