...
...
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# |
---|
public StatusCode SetText( ScreenPosition position, string fieldText ) |
Visual Basic (Declaration) |
---|
Public Function SetText ( _ position As ScreenPosition, _ fieldText As String _ ) As StatusCode |
Visual C++ |
---|
public: virtual StatusCode SetText( ScreenPosition position, String^ fieldText ) sealed |
JavaScript |
---|
function SetText(position, fieldText); |
Parameters
position
Type: JollyGiant.Emulation..
...
ScreenPosition
Screen position of the IField.
fieldText
Type: System..
...
String
Text to copy into the field.
Return Value
The StatusCode indicating the result of the operation.
This can be one of the following values:
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. |
Implements
...
.SetText(ScreenPosition, String)
See Also
Field Class
JollyGiant.Emulation Namespace
Send comments on this topic to Jolly Giant Software
Copyright 2009 by Jolly Giant Software, Inc.