Translate page

IField_GetPosition Method

Gets the starting position of the field field (of any type) 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 GetPosition(
	ref ScreenPosition position
)
Visual Basic (Declaration)
Function GetPosition ( _
	ByRef position As ScreenPosition _
) As StatusCode
Visual C++
StatusCode GetPosition(
	ScreenPosition% position
)
JavaScript
function GetPosition(position);


Parameters

position
Type: JollyGiant.Emulation..ScreenPosition
Position inside the field for which to retrieve the starting ScreenPosition.

Return Value

The StatusCode indicating the result of the operation.

This can be one of the following values:

Status codeDescription
WHLLOKThe specified field position was found.
WHLLNOTCONNECTEDYour application is not currently connected to a host session.
WHLLPARAMETERERROROne or more of the call parameters are invalid.
WHLLPOSITIONERRORThe screen position specified is invalid.
WHLLSYSERRORThe method failed due to a system error.
WHLLNOFIELDThe specified field was not found, or the session presentation space is unformatted.
WHLLZEROLENFIELDThe specified field has a length of zero.


Remarks


The starting position of a IField is defined as the position of it's attribute byte.

See Also


IField Interface
JollyGiant.Emulation Namespace

Send comments on this topic to Jolly Giant Software

Copyright 2009 by Jolly Giant Software, Inc.