Please advice. im having difficulty in focusing the column grid. i code :
if nkeycode=13
grid.column1.setfocus
endif
but whenever i clicked the enter key it jump the next column. thanks in advance
actually i like to prevent the cursor move to other column whenever i click the enter key. please advice.
on keypress event of column1
if nkeycode=13 && enter
select dbf
skip
grid.column1.setfocus
endif
but my problem is that whenever i click the enter key it goes to the next record of the next column
thanks.
mgagnon,
thanks for the quick reply, your advice works. thank you again it works.
please advice me again, regarding row highlight. how can i highlight the whole row when its selected? currently i mark the row selected and make use of the dyanmic color of the grid. is there another way coz everytime i selected the row i replace all the mark with .f. and mark the selected record to .t.
thanks a lot.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.