Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

 


 

Background Color
coloryellow
IWindow::SetName


Change the title of the QWS3270 window for a session.

 

Background Color
Function SetName(Session As String, name As String) As Long

 


Parameters

NoNameTypeOptionalDefaultDescription
1SessionStringNo-

One character session ID

2

name

String

No

-

New window title

Return Code

Description

JGS_OK

The function was successful

JGS_NOTCONNECTED

Your application is not currently connected to any valid session

JGS_PARAMETERERROR

Missing or invalid parameter

JGS_MEMORY

Insufficient memory

JGS_SYSERROR

The function failed due to a system error

JGS_PSENDED

The session has ended

Sample Code


 

Background Color
coloryellow
Dim mySession as String
Dim myName as String
Dim result as Long
mySession = "E"
myName = "Jolly Giant Software"
result = win.SetName(mySession, myName)


Back to IWindow member



QWS3270 Automation copyright © Jolly Giant Software Inc. All rights reserved.