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

SetArgElement – PB Docs 125 – PowerBuilder Library

SetArgElement – PB Docs 125

SetArgElement PowerScript function

Description

Sets the value in the specified argument element.

Controls

Window ActiveX controls

Syntax

Argument

Description

activexcontrol

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

index

Integer specifying argument placement.

argument

Any specifying the argument value.

Return Values

Integer. Returns 1 if the function succeeds
and -1 if an error occurs.

Usage

Call this function before calling InvokePBFunction or TriggerPBEvent to
specify an argument for the passed function.

JavaScript scripts must use this function to specify function
and event arguments. VBScript scripts can either use this function
or specify the arguments array directly.

Examples

This JavaScript example calls the SetArgElement function:

See Also


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