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

of_addpanel

Send comments on this topic.

 

Description:

Opens a  visual userobject and creates a menu item for it in the menu panel.

Syntax:

of_addpanel (string as_text, string as_image, ref userobject a_object)

Argument

Description

a_object

The object that will be opened as a panel. 

as_text

The text that will display in the left hand navigation.

as_image

The file name of the image displayed next to the text in the left hand navigation. You can use a PowerBuilder image (e.g. "sql!"). This value can be blank if no image will be displayed.

Return Value:

Returns a numeric value containing the index of the newly opened tab.

Usage:


Copyright © 2021 Werysoft Inc.