MethodProgressStep

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 MethodProgressStep(  )

The MethodProgressStep method is called to indicate that one step of the method has been completed. Calling this method will cause the progress indicator to be updated.

Returns

This method does not return a value.

Example

! Read all lines from file, updating slider as we go along
While SalFileGetStr( hFile, sLine, SalStrGetBufferLength( sLine ) )
   Call ProcessLine( sLine )
   Call MethodProgressStep( )
C# coding sample
while (i < nCount) 
{
	strText = Sal.ListQueryTextX(lbFilesFinish, n);
	MethodProgressStep();
	MethodProgressMessage(strText);
	Vis.FileOpen(ref hSrcHandle, strText, Sys.OF_Read);
	............