Event/control: return row index for seg_p