/
PreviousFieldLength Method

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#
StatusCode PreviousFieldLength(
	int row,
	int column,
	ref int length,
	FieldType fieldType
)
Visual Basic (Declaration)
Function PreviousFieldLength ( _
	row As Integer, _
	column As Integer, _
	ByRef length As Integer, _
	fieldType As FieldType _
) As StatusCode
Visual C++
StatusCode PreviousFieldLength(
	int row, 
	int column, 
	int% length, 
	FieldType fieldType
)
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.


See Also


IQWS3270 Interface
JollyGiant.Emulation Namespace

Send comments on this topic to Jolly Giant Software

Copyright 2009 by Jolly Giant Software, Inc.


Related content

NextFieldLength Method
NextFieldLength Method
More like this
Get PreviousLength Method
Get PreviousLength Method
More like this
Field.GetPreviousLength Method
Field.GetPreviousLength Method
More like this
Field.GetNextLength Method
Field.GetNextLength Method
More like this
GetPreviousLength_Method.
GetPreviousLength_Method.
More like this
IField_GetPreviousLength Method
IField_GetPreviousLength Method
More like this