Versions Compared

Key

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

Gets the position of the previous field with the specified FieldType, starting at the specified screen ScreenPosition.

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

Syntax

C#
StatusCode GetPreviousPosition(
	ref ScreenPosition position,
	FieldType fieldType
)


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


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


JavaScript
function GetPreviousPosition(position, fieldType);


Parameters

position
Type: JollyGiant.Emulation..::.ScreenPosition %Starting
Starting screen position.

fieldType
Type: JollyGiant.Emulation..::.FieldTypeField FieldType
Field type to get 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.
WHLLPOSITIONERRORSpecified presentation space position is invalid.
WHLLSYSERRORThe method failed due to a system error.
WHLLNOFIELDThe specified field was not found, or the session presentation space is unformatted.
WHLLZEROLENFIELDThe specified field has a length of zero.


See Also


IField Interface
JollyGiant.Emulation Namespace

Send comments on this topic to Jolly Giant Software

...