Navigation: Ultimate Suite for PowerBuilder Help > Toolbar Strip > Functions >

of_settext

Send comments on this topic.

 

Description:

Sets the toolbar buttons text based on the index or item text.

Syntax:

of_settext (long al_item, string as_text)
of_settext (string as_item, string as_text)

Argument

Description

al_item

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

as_item

The text of the button you want to set text for.

as_text

A string containing the text that will display in the button. You will also use this text in other functions to reference the button.

Return Value:

Returns 1 if successful or a 0 if the method was unable to set the text on the button.

Usage:


Copyright © 2021 Werysoft Inc.