Article ID: 172087
Article Last Modified on 2/10/2005
119591 How to Obtain Microsoft Support Files from Online Services
COMPILE FORM Gridtest.scx
COMPILE FORM Agrid.vcx
When using the files in Visual FoxPro for Macintosh, at least for
purposes of this article, setting MacDeskTop off is recommended. The
following command will do that:
SET MACDESKTOP OFF
The form and class library should be recompiled on the Macintosh.
Use the commands above in Visual FoxPro for Macintosh.
grid.GoToCell(nrow,ncol)
where nrow and ncol specify the row and column of the cell to make
active.
gridtest.agrid1.GoToCell(65,7)
gridtest.agrid1.GoToCell(18,5)
gridtest.agrid1.GoToCell(12,2)
gridtest.agrid1.GoToCell(1,1)
gridtest.agrid1.ActivateCell(18,5) && Note that this will not work.
NOTE: An "Invalid subscript reference" error message results from
either a zero or negative number entered for the column reference.
Keywords: kbinfo kbfile kbsample KB172087