Sets the text of the field at the specified position.
Namespace: JollyGiant.Emulation
Assembly: JGSComdotNet (in JGSComdotNet.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
StatusCode SetText( ScreenPosition position, string fieldText ) |
...
Visual Basic (Declaration) |
---|
Function SetText ( _ position As ScreenPosition, _ fieldText As String _ ) As StatusCode |
Visual C++ |
---|
StatusCode SetText( ScreenPosition position, String^ fieldText ) |
...
JavaScript |
---|
function SetText(position, fieldText); |
Parameters
position
Type: JollyGiant.Emulation..::.ScreenPositionScreen ScreenPosition
Screen position of the IField.
fieldText
Type: System..::.StringText String
Text to copy into the field.
Return Value
The StatusCode indicating the result of the operation.
...
Status code | Description |
---|---|
WHLLOK | The String was copied successfully. |
WHLLNOTCONNECTED | Your application is not currently connected to a host session. |
WHLLPARAMETERERROR | You attempted to copy a zero-length string. |
WHLLINHIBITED | The specified field is protected, or you attempted to copy invalid data (such as a field attribute). |
WHLLTRUNCATED | The String was copied successfully, but one or more characters were truncated (fieldText was longer than the field). |
WHLLPOSITIONERROR | The specified presentation space position was invalid. |
WHLLSYSERROR | The method failed due to a system error. |
WHLLNOFIELD | The presentation space is unformatted. |
See Also
IField Interface
JollyGiant.Emulation Namespace
Send comments on this topic to Jolly Giant Software
...