Navigation: Ultimate Suite for PowerBuilder Help > PowerDock > Functions >

of_setdocumentimage

Send comments on this topic.

 

Description:

Sets the image that will display in the document tab based on object reference.

Syntax:

of_setdocumentimage (userobject auo_object, string as_image)
of_setdocumentimage (window aw_object, string as_image)

Argument

Description

aw_object

A reference to the window control for the docuemnt tab you want to set the image on.

auo_object

A reference to the userobject for the document tab you want to set the image on.

as_image

The file name of the image used in the item. You can use a PowerBuilder image (e.g. "sql!").

Return Value:

Returns 1 if successful or a 0 if the method was unable to set the new image for the tab.

Usage:

 


Copyright © 2021 Werysoft Inc.