IField_GetPreviousLength Method
IField_GetPreviousLength Method
Gets the length of the previous field of the specified FieldType, 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 GetPreviousLength( ScreenPosition position, ref int length, FieldType fieldType ) |
Visual Basic (Declaration) |
---|
Function GetPreviousLength ( _ position As ScreenPosition, _ ByRef length As Integer, _ fieldType As FieldType _ ) As StatusCode |
Visual C++ |
---|
StatusCode GetPreviousLength( ScreenPosition position, int% length, FieldType fieldType ) |
JavaScript |
---|
function GetPreviousLength(position, length, fieldType); |
Parameters
position
Type: JollyGiant.Emulation..ScreenPosition
Current ScreenPosition.
length
Type: System..Int32
Will on return contain the length of the IField.
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 |
---|---|
WHLLOK | The specified field length was found. |
WHLLNOTCONNECTED | Your application is not currently connected to a host session. |
WHLLPARAMETERERROR | One or more of the call parameters are invalid. |
WHLLPOSITIONERROR | The specified presentation space position is invalid. |
WHLLSYSERROR | The method failed due to a system error. |
WHLLNOFIELD | The specified field was not found, or the session presentation space is unformatted. |
WHLLZEROLENFIELD | The specified field has a length of zero. |
Remarks
The attribute byte of a IField is not included in it's length.
See Also
IField Interface
JollyGiant.Emulation Namespace
Send comments on this topic to Jolly Giant Software
Copyright 2009 by Jolly Giant Software, Inc.
, multiple selections available,
Related content
Command Line Parameters
Command Line Parameters
More like this
Sample Command Line Parameter Entries
Sample Command Line Parameter Entries
More like this
How to use Command Line Parameters
How to use Command Line Parameters
More like this
Command Line Parameter Syntax
Command Line Parameter Syntax
More like this
Undocumented Session Parameters
Undocumented Session Parameters
More like this
Sample Installer Command Line Parameter Entries
Sample Installer Command Line Parameter Entries
More like this