Translate page

QWS3270.PreviousFieldLength Method

Gets the length of the previous 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 PreviousFieldLength(
	int row,
	int column,
	ref int length,
	FieldType fieldType
)
Visual Basic (Declaration)
Public Function PreviousFieldLength ( _
	row As Integer, _
	column As Integer, _
	ByRef length As Integer, _
	fieldType As FieldType _
) As StatusCode
Visual C++
public:
virtual StatusCode PreviousFieldLength(
	int row, 
	int column, 
	int% length, 
	FieldType fieldType
) sealed
JavaScript
function PreviousFieldLength(row, column, length, fieldType);


Parameters

row
Type: System.Int32
Screen row.

column
Type: System.Int32
Screen column.

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

fieldType
Type: JollyGiant.Emulation.FieldType
FieldType of field 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.


Implements

IQWS3270.PreviousFieldLength(Int32, Int32, Int32, FieldType)

See Also


QWS3270 Class
JollyGiant.Emulation Namespace

Send comments on this topic to Jolly Giant Software

Copyright 2009 by Jolly Giant Software, Inc.