DataContextNext

Note: This page includes content based on the F1 documentation for Centura development. It may be partially converted to support APF development, but should be regarded to be of uncertain actuality. It is provided as is. Eventually, it should be replaced by documentation available from within Visual Studio.

SalNumber DataContextNext( SalNumber nWhat )

The DataContextNext moves the focus to the next row in the table.

Parameters

Name Description
SalNumber nWhat Standard method parameter. Possible values are Const.METHOD_Inquire, Const.METHOD_Execute, Const.METHOD_GetType

Returns

When nWhat = Const.METHOD_Inquire, TRUE is returned if focus row is not the last row in the table, FALSE otherwise.

When nWhat = Const.METHOD_Execute, applications should ignore the return value of this method.

Comments

If the change of focus causes the table to scroll, the framework calls MethodStateChanged to update state of all ContextMethod method.