long ( list-box-get-selection long list-box-id)
Get the position of the selection (for single-selection list boxes only).