...
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# |
---|
[ComVisibleAttribute(true)] public StatusCode GetPosition( ref ScreenPosition position ) |
Visual Basic (Declaration) |
---|
<ComVisibleAttribute(True)> _ Public Function GetPosition ( _ ByRef position As ScreenPosition _ ) As StatusCode |
Visual C++ |
---|
[ComVisibleAttribute(true)] public: virtual StatusCode GetPosition( ScreenPosition% position ) sealed |
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. |
Implements
IField..::.GetPosition(ScreenPosition%)Remarks
The starting position of a IField is defined as the position of it's attribute byte.
See Also
Send comments on this topic to Jolly Giant Software
Copyright 2009 by Jolly Giant Software, Inc.