Get PreviousPosition Method
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# |
---|
public StatusCode GetPreviousPosition( ref ScreenPosition position, FieldType fieldType ) |
Visual Basic (Declaration) |
---|
Public Function GetPreviousPosition ( _ ByRef position As ScreenPosition, _ fieldType As FieldType _ ) As StatusCode |
Visual C++ |
---|
public: virtual StatusCode GetPreviousPosition( ScreenPosition% position, FieldType fieldType ) sealed |
JavaScript |
---|
function GetPreviousPosition(position, fieldType); |
Parameters
position
Type: JollyGiant.Emulation.ScreenPosition
Starting screen position.
fieldType
Type: JollyGiant.Emulation..FieldType
Field type to get the position for.
Return Value
The StatusCode indicating the result of the operation.This can be one of the following values:
Status code | Description |
---|---|
WHLLOK | The specified field was found. |
WHLLNOTCONNECTED | Your application is not currently connected to a host session. |
WHLLPARAMETERERROR | One or more of the call parameters are invalid. |
WHLLPOSITIONERROR | Specified presentation space position is invalid. |
WHLLSYSERROR | The method failed due to a system error. |
WHLLNOFIELD | The specified field was not found, or the session presentation space is unformatted. |
WHLLZEROLENFIELD | The specified field has a length of zero. |