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

InsertObject – PB Docs 2021 – PowerBuilder Library

InsertObject – PB Docs 2021

InsertObject

PowerScript function

Description

Displays the standard Insert Object dialog box, allowing the user to
choose a new or existing OLE object, and inserts the selected object in
the OLE control.

Syntax

Argument

Description

olecontrol

The name of the OLE control in which you want to insert an
object

Return value

Integer. Returns 0 if it succeeds and one of the following values if
an error occurs:

1 — User canceled out of dialog box

-9 — Error

If any argument’s value is null, InsertObject returns null.

Examples

This example displays the standard Insert Object dialog box so that
the user can select an OLE object. InsertObject inserts the selected
object in the ole_1 control:

See also

InsertClass

InsertFile

LinkTo


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