Grid.Init *!* ADDPROPERTY(m.this,'LastColumn',0) This.AddProperty("LastColumn",0) Grid.AfterColRow LPARAMETERS nColIndex *!* IF m.nColIndex=1 AND m.this.LastColumn=m.this.ColumnCount AND INLIST(LASTKEY(),9,13) *!* SKIP 1 IF m.nColIndex=1 AND m.this.LastColumn=m.this.ColumnCount AND !INLIST(LASTKEY(),5,9) KEYBOARD '{DNARROW}' ENDIFThanks a lot