I have a form with two flexgrids on it. When either of them is double clicked, I want to bring up one form(the same form is for both grids) and know which was clicked. Is there awat to do this, aside from a control array.

I want something like this

[code]

sub grid1_dblclick ()
frm1.show
end sub

sub grid2_dblclick ()
frm1.show
end sub

frm1_load ()
'determine which grid was clicked and process information
end sub

any ideas?