Navigation: Ultimate Suite for PowerBuilder Help > Tab Control > Functions >

of_setmenutext

Send comments on this topic.

 

Description:

Sets the text of the predefined items in the control pop menu (i.e. the menu that displays when clicking the chevron).

Syntax:

of_setmenutext (long al_item, as_text)

Argument

Description

al_item

The index of the item you want to change text on. Use one of the following constants: CLOSETAB, CLOSEALL

as_text

The new text that the button will be set to.

CLOSETAB and CLOSEALL are constants defined in the outlook shortcutbar control.

Return Value:

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

Usage:

Text is set to the following values by default:

CLOSETAB = "Close"
CLOSEALL = "Close All"


Copyright © 2021 Werysoft Inc.