GetNextPosition Method
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 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 | The specified presentation space position is invalid. |
WHLLSYSERROR | The method failed due to a system error. |
WHLLNOFIELD | The specified IField field was not found, or the session's presentation space is unformatted. |
WHLLZEROLENFIELD | The next IField field of the specified type, after the specified IField, has a length of zero. |