Table Cell Selected?

Hi

Is there any handler that’ll return which table cell the user clicked in? It seems I can get the row or the column but not both or if both are returned it is after an event like cell value changed. I don’t want to do anything to the cell, I just want to know the one the user clicked.

Any help would be appreciated.

Thanks

hmm - maybe i misunderstood your question?

You can simply ask for the clicked row and column indices in an on clicked handler you have connected to your table view:

on clicked theObject
	log "you clicked row: " & (get clicked row of theObject) & " / column: " & (get clicked column of theObject)
end clicked

D.

You were right on. (I amaze people with my simplicity. :slight_smile: )

Thanks for the code. :slight_smile: