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 code | Description |
---|---|
WHLLOK | The specified field position 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 screen position specified 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 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.