VBS_SetString (Method)
VBS_SetString (Method)
IScreen::VBS_SetString
Copy a text string to a specified position in the QWS3270 screen.
Function VBS_SetString(row As Long, column As Long, text As String) As Long
Parameters
No | Name | Type | Optional | Default | Description |
---|---|---|---|---|---|
1 | row | Long | No | - | row where text is to be inserted |
2 | column | Long | No | - | column where text is to be inserted |
3 | text | String | No | - | text to insert |
Return Code | Description | ||||
JGS_OK | The text was successfully copied | ||||
JGS_NOTCONNECTED | Your application is currently not connected to any valid session | ||||
JGS_PARAMETERERROR | Missing or invalid parameter | ||||
JGS_SYSERROR | The function failed due to a system error | ||||
JGS_INHIBITED | The position in the screen is protected or the text string contains invalid data (such as a field attribute) | ||||
JGS_TRUNCATED | The text string was truncated during the copy | ||||
JGS_POSITIONERROR | The specified position in the screen was invalid |
Sample Code
Dim row as Long
Dim column as Long
Dim myText as String
Dim result as Long
row = 18
column = 45
myText = "Jolly Giant Software"
result = screen.VBS_SetString(row, column, myText)
Dim column as Long
Dim myText as String
Dim result as Long
row = 18
column = 45
myText = "Jolly Giant Software"
result = screen.VBS_SetString(row, column, myText)
QWS3270 Automation copyright © Jolly Giant Software Inc. All rights reserved.
, multiple selections available,
Related content
Command Line Parameter Syntax
Command Line Parameter Syntax
More like this
How to use Command Line Parameters
How to use Command Line Parameters
More like this
Command Line Parameters
Command Line Parameters
More like this
Sample Command Line Parameter Entries
Sample Command Line Parameter Entries
More like this
Installer Command Line Parameter Syntax
Installer Command Line Parameter Syntax
More like this
Sample Installer Command Line Parameter Entries
Sample Installer Command Line Parameter Entries
More like this