hi all.
i have a datagridview in which i want to know which row is selected by mousedown or keydown..
so in both case i want to use only ONE subroutine which can give e.rowindex , e.colindex value of datagridview...
Example..
Code:Private Sub xyz (s as sender, e as keydownaurguments, m as mousedownaurguments) handles keydown, mousedown '\\\\ code end subOr if possible i want to execute both events in datagridview.cellenter events
Code:Private Sub Datagridview_Cellenter(s as sender, e as ???) handles 1,2,3,..... msgbox e.rowindex end sub
(Before post this thread i already fighted with error "because they do not have the same signature")
so plz tell me how make its possible...




Or if possible i want to execute both events in datagridview.cellenter events
)
Reply With Quote