Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

GetLastReturn – PB Docs 2018 – PowerBuilder Library

GetLastReturn – PB Docs 2018

GetLastReturn

PowerScript function

Description

Returns the return value from the last InvokePBFunction or
TriggerPBEvent function.

Applies to

Window ActiveX controls

Syntax

Argument

Description

activexcontrol

Identifier for the instance of the PowerBuilder
window ActiveX control. When used in HTML, the ActiveX control is
the NAME attribute of the object element. When used in other
environments, this references the control that contains the
PowerBuilder window ActiveX.

Return value

Any.

Returns the last return value.

Usage

Call this function after calling InvokePBFunction or
TriggerPBEvent to access the return value. JavaScript scripts must use
this function to access return values from InvokePBFunction and
TriggerPBEvent. VBScript scripts can either use this function or access
the return value using an argument in InvokePBFunction or
TriggerPBEvent.

Examples

This JavaScript example calls the GetLastReturn function:

This VBScript example calls the GetLastReturn function:

See also

GetArgElement

InvokePBFunction

SetArgElement

TriggerPBEvent


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x