Translate page

IQWS3270.NextFieldLength Method


Retrieves the length 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 NextFieldLength(
	int row,
	int column,
	ref int length,
	FieldType fieldType
)
Visual Basic (Declaration)
Function NextFieldLength ( _
	row As Integer, _
	column As Integer, _
	ByRef length As Integer, _
	fieldType As FieldType _
) As StatusCode
Visual C++
StatusCode NextFieldLength(
	int row, 
	int column, 
	int% length, 
	FieldType fieldType
)
JavaScript
function NextFieldLength(row, column, length, fieldType);


Parameters

row
Type: System..Int32
Screen row where the search starts.

column
Type: System..Int32
Screen column where the search starts.

length
Type: System...Int32
On return, will contain the length of the field.

fieldType
Type: JollyGiant.Emulation..FieldType
FieldType to get the length for.

Return Value

The StatusCode indicating the result of the operation.

This can be one of the following values:

Status codeDescription
OkThe specified field length was found.
NotConnectedYour application is not currently connected to a host session.
ParameterErrorOne or more of the call parameters are invalid.
InvalidPositionThe specified presentation space position is invalid.
SystemErrorThe method failed due to a system error.
NoSuchFieldThe specified field was not found, or the session presentation space is unformatted.
ZeroLengthFieldThe specified field has a length of zero.


See Also


IQWS3270 Interface
JollyGiant.Emulation Namespace

Send comments on this topic to Jolly Giant Software

Copyright 2009 by Jolly Giant Software, Inc.