Grid.GetNextItem

table Grid.GetNextItem ( 

string ObjectName,

number Row,

number Column,

number SearchType,

number SearchDirection )

Example 1

tblresult = Grid.GetNextItem("Grid1", 1, 2, GVNI_FOCUSED, GVNI_ALL);
if tblresult == nil then
     Dialog.Message("Warning", "No Cells have focus", MB_OK, MB_ICONEXCLAMATION, MB_DEFBUTTON1);
else
     Dialog.Message("Focus Found", "Focus Cell = "..tblresult.Row..","..tblresult.Column, MB_OK, MB_ICONEXCLAMATION, MB_DEFBUTTON1);
end

Searches for a cell that has focus and reports the findings

See also:  Related Actions