I am asking this question here in CodeMine section, as I think my last question about this has to do with how this item is done in CodeMine in particular. Vlad here in UT did help me with a prior Grid question.
In a grid, I am trying to "check" a chkBox of a column after I hit the Enter key in another read only column. I have the following code in the KeyPressEnvent() of the other field:
LPARAMETERS nKeyCode, nShiftAltCtrl
IF m.nKeyCode = 13
THIS.PARENT.PARENT.Column4.Chkcheckboxcustom1.SetValue(1)
THIS.PARENT.PARENT.Column4.Chkcheckboxcustom1.REFRESH()
NODEFAULT
ELSE
DODEFAULT(nKeyCode, nShiftAltCtrl)
ENDIF
This does allow me to press Save, and the chkBox is then checked like I want. However, I want to see the Check box "checked" as soon as I press Enter.
Someone know what I am missing (other than the fact that grid's are some of my "weakest" points <g>)?
Mel Cummings