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

GetArgElement – PB Docs 2022 – PowerBuilder Library

GetArgElement – PB Docs 2022

GetArgElement

PowerScript function

Description

Returns the value in the specified argument.

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, references the control that contains the
PowerBuilder window ActiveX.

index

Integer specify the argument to return.

Return value

Any.

Returns the specified argument.

Usage

Call this function after calling InvokePBFunction or TriggerPBEvent
to access the updated value in an argument passed by reference.

JavaScript scripts must use this function to access arguments passed
by reference. VBScript scripts can use this function if they established
the argument list via calls to SetArgElement.

Examples

This JavaScript example calls the GetArgElement function:

See also

GetLastReturn

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