Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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..::.Int32Screen Int32
Screen row.

column
Type: System..::.Int32Screen Int32
Screen column.

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

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

Return Value

The StatusCode indicating the result of the operation.

...

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

...