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#
StatusCode GetNextPosition(
	ref ScreenPosition position,
	FieldType fieldType
)


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


Visual C++
StatusCode GetNextPosition(
	ScreenPosition% position, 
	FieldType fieldType
)


JavaScript
function GetNextPosition(position, fieldType);


Parameters

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

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

Return Value

The StatusCode indicating the result of the operation.

...

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.


See Also


IField Interface
JollyGiant.Emulation Namespace

Send comments on this topic to Jolly Giant Software

...