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

of_settext

Send comments on this topic.

 

Description:

Set a tabs text by index or object reference.

Syntax:

of_settext (long al_index, string as_text)
of_settext (userobject auo_object, string as_text)
of_settext (window aw_object, string as_text)

Argument

Description

al_index

The index of the tab you want to set text for.

aw_object

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

auo_object

A reference to the userobject for the tab you want to set text for.

as_text

A string containing the text that will display in the tab.

Return Value:

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

Usage:


Copyright © 2021 Werysoft Inc.