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

of_setdocumenttext

Send comments on this topic.

 

Description:

Sets the document tabs text based on the object referenced passed in.

Syntax:

of_setdocumenttext (userobject auo_object, string as_text)
of_setdocumenttext (window aw_object, string as_text)

Argument

Description

aw_object

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

auo_object

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

as_text

A string representing the new text for the document tab.

Return Value:

Returns 1 if successful or a 0 if the method was unable to set the text for the window or userobject passed in.

Usage:

Document text is similar to a windows title except in the case of TDI (tabbed document interface) the text is displayed in a tab.


Copyright © 2021 Werysoft Inc.