Image Removed |
Gets the text of the IField at the specified ScreenPositionSearches 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)
Image RemovedGetTextref fieldText,
int toCopy
Visual Basic (Declaration) |
---|
Public Function |
GetTextByRef fieldText,
toCopyAs Integer _
GetText^% fieldText,
int toCopyGetTextfieldText, toCopy::.ScreenPositionPosition IField for which to retrieve field to search for the text.
searchText
fieldText .:: %Buffer for the field text.toCopy Type: System..::.Int32Maximum number of characters to copy
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 |
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 truncatedsearch string was found. |
WHLLNOTCONNECTED | Your application is not currently connected to a host session. |
WHLLPARAMETERERROR |
One or more call parameters are invalid. | String was length zero or greater than the session presentation space size. |
WHLLPOSITIONERROR | The specified presentation space position |
is 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.. ::.GetText%, Int32Image Removed