moveoffgrid Method
Class: orderentry
Expand/Collapse source code of procedure moveoffgrid Source Code
*-- To prevent the SumColumn method of grdLineItems from being called
*-- twice, once from the Refresh() method, and once from the BeforeRowColChange
*-- method, we set focus away from the grid
IF TYPE("this.ActiveControl") == "O" AND ;
    UPPER(this.ActiveControl.BaseClass) = "GRID"
  thisform.cmdFocusControl.SetFocus()
ENDIF