I have been adding multi column support. I would like to be able to double click on a cell and know which cell that was, so I can edit it.

Is there a way to tell which item(x).subitem(y) was clicked or doubleclicked on?

code:
FUNCTION fnbtnEdit_Click()
IF $txtDBName.Text = ''
$txtDBName.Text = $lvwDB.FocusedItem.SubItems(0).Text
ELSE
$lvwDB.FocusedItem.SubItems(0).Text = $txtDBName.Text
$txtDBName.Text = ''
ENDIF
$txtDBName.SetFocus
ENDFUNCTION

_________________________
Kelly