Grid Cell focus

This Q&A forum allows users to post and respond to "How Do I Do ....." questions. Please do not use to report (suspected) errors - you must use your regional help desk for this. The information contained in this forum has not been validated by LANSA and, as such, LANSA cannot guarantee the accuracy of the information.
Post Reply
Posts: 18
Joined: Sat Jan 16, 2016 4:23 am

Grid Cell focus

Post by nic.hall » Mon Feb 04, 2019 12:20 am

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)

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)


Post Reply