This.Parent.Parent.dblClick()This still works in VFP 9, but in VFP 9, there are other ways to accomplish this. One way is to set the grid's AllowCellSelection property to .F. because then, when you double click on the grid, it is the grid's DblClick() that fires and not the contained control's. If you need to AllowCellSelection, then this code in the grid's Init() will allow the dblClick of the contained controls to fire the grid's DblClick():
FOR lnCol = 1 TO This.ColumnCount loColumn = This.Columns[ lnCol ] FOR EACH loControl IN loColumn.Controls IF PEMSTATUS( loControl, [dblClick], 5 ) BINDEVENT( loControl, 'dblClick', This, 'dblClick' ) ENDIF IF PEMSTATUS( loControl, [Click], 5 ) BINDEVENT( loControl, 'Click', This, 'Click' ) ENDIF ENDIF ENDFOR ENDFOR