Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Gets the position of the next field of the specified type, starting at the specified screen position.

Namespace:  JollyGiant.Emulation
Assembly:  JGSComdotNet (in JGSComdotNet.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax


C#
public StatusCode GetNextPosition(
	ref ScreenPosition position,
	FieldType fieldType
)


Visual Basic (Declaration)
Public Function GetNextPosition ( _
	ByRef position As ScreenPosition, _
	fieldType As FieldType _
) As StatusCode


Visual C++
public:
virtual StatusCode GetNextPosition(
	ScreenPosition% position, 
	FieldType fieldType
) sealed


JavaScript
function GetNextPosition(position, fieldType);


Parameters

position
Type: JollyGiant.Emulation..ScreenPosition
Position inside the field where the search is to start.

fieldType
Type: JollyGiant.Emulation.FieldType
FieldType to retrieve the position for.

Return Value

The StatusCode indicating the result of the operation.

This can be one of the following values:


Status codeDescription
WHLLOKThe specified field was found.
WHLLNOTCONNECTEDYour application is not currently connected to a host session.
WHLLPARAMETERERROROne or more of the call parameters are invalid.
WHLLPOSITIONERRORThe specified presentation space position is invalid.
WHLLSYSERRORThe method failed due to a system error.
WHLLNOFIELDThe specified IField field was not found, or the session's presentation space is unformatted.
WHLLZEROLENFIELDThe next IField field of the specified type, after the specified IField, has a length of zero.


Implements

IField.GetNextPosition(ScreenPosition,FieldType)

See Also

...