I need to have script execute on the selection of a line in a grid (SO Lines specifically).

While the Table Pre-Write and Post -Write Events can handle when a user exits a line, I need to set Line UDF values as soon as a user selects any field in a line grid.

Any ideas?