Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

 

 

IWindow::SetName

Change the title of the QWS3270 window for a session.

 

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


 

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.

  • No labels