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 code | Description |
---|---|
Ok | The specified field length was found. |
NotConnected | Your application is not currently connected to a host session. |
ParameterError | One or more of the call parameters are invalid. |
InvalidPosition | The specified presentation space position is invalid. |
SystemError | The method failed due to a system error. |
NoSuchField | The specified field was not found, or the session presentation space is unformatted. |
ZeroLengthField | The 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.