Gets text of the IField at ScreenPosition
GetText
ref fieldText,
int toCopy
GetText
ByRef
fieldText
, _
toCopy As IntegerGetText
^% fieldText,
int toCopy
GetText
fieldText, toCopy IField for which to retrieve fieldText ::. %Buffer for the field text.toCopy Type: System..::.Int32Maximum number of characters to copy
specified IField field was copied successfullyWHLLTRUNCATED The specified field text was retrieved, but the IField was of greater length than the number specified in toCopy, and the text is truncated
One or more call parameters are invalid.
is
::.GetText%, Int32
Searches the
field at the specified position for the specified
text.
Namespace: JollyGiant.Emulation
Assembly: JGSComdotNet (in JGSComdotNet.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
public StatusCode |
Search( ref ScreenPosition position, |
searchText ) |
Visual Basic (Declaration) |
---|
Public Function |
Search ( _ ByRef position As ScreenPosition, _ |
searchText |
As String |
Search( ScreenPosition% position, String |
^ searchText ) sealed |
JavaScript |
---|
function |
Search(position, |
field to search for the text.
searchText
Type: System..
Text to search for.
Return Value
The StatusCode indicating the result of the operation.This can be one of the following values:
Status code | Description |
---|---|
WHLLOK | The |
search string was found. | |
WHLLNOTCONNECTED | Your application is not currently connected to a host session. |
WHLLPARAMETERERROR |
String was length zero or greater than the session presentation space size. | |
WHLLPOSITIONERROR | The specified presentation space position |
was invalid. | |
WHLLSYSERROR | The method failed due to a system error. |
WHLLNOFIELD | The search string was not found, or the session presentation space is unformatted. |
Implements
IField..)
Field Class
JollyGiant.Emulation Namespace
See Also
Field Class
JollyGiant.Emulation Namespace
Send comments on this topic to Jolly Giant Software
Copyright 2009 by Jolly Giant Software, Inc.