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

ResetArgElements – PB Docs 2019 – PowerBuilder Library

ResetArgElements – PB Docs 2019

ResetArgElements

PowerScript function

Description

Clears the argument list.

Applies to

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.

Return value

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

Usage

Call this function after calling InvokePBFunction or TriggerPBEvent
to clear the argument list.

If you populate the argument list with SetArgElement, you should
call this function to clear the argument list after using InvokePBFunction
or TriggerPBEvent to call an event or function with arguments.

Examples

This JavaScript example calls the ResetArgElements function:

This VBScript example calls the ResetArgElements 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