Navigation: Ultimate Suite for PowerBuilder Help > Single Page Application Windows > Tabbed Caption > Functions >

of_setimage

Send comments on this topic.

 

Description:

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

Syntax:

of_setimage (long al_index, string as_image)
of_setimage (userobject auo_object, string as_image)
of_setimage (window aw_object, string as_image)

Argument

Description

al_index

The index of the tab you want to set the image on.

aw_object

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

auo_object

A reference to the userobject for the 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.