>HAPPY NEW YEAR EVERYONE!!!
>
>How I can know with cell is selected in a standar grid of VFP when I click on a command button??? When I use GrdPage.(Property) it's always say that DRGPAGE WAS NOT FOUND!!!
>
>THANKS!!!
>
>P.S.: Sorry for my english I'm a FRENCH person! :P
It's simple to find out outside the grid what is the its active row. It corresponds to the current record of grid.recordsource. Identifying active column might be tricky. You may customize column.control (textbox) got/lostfocus event to reset some custom form.property really indicating currently active column, e.g.
***Control.GotFocus event
Thisform.LastGridActiveColumn=this.parent
Edward Pikman
Independent Consultant