Page 1 of 1

Grid Cell focus

Posted: Mon Feb 04, 2019 12:20 am
by nic.hall
I am trying to set the focus in a cell as follows but it is not working. Any suggestions?

Selectlist Named(#GRID_DTL)
Set Com(#GRID_DTL.CurrentItem.Cell<4>) Visualstyle(*null)
Upd_Entry In_List(#GRID_DTL)

*validate
#com_self.GETUM
#COM_SELF.VAL_QTY
If (#RET_CODE = 'ER')
Set Com(#GRID_DTL.CurrentItem) Focus(True) Selected(True)
Set Com(#GRID_DTL.CurrentItem.Cell<4>) Visualstyle(#GS_ERROR)
#GDCL_FFQTY7.Focus := True
Upd_Entry In_List(#GRID_DTL)
Return
Endif

endselect