Navigation: Ultimate Suite for PowerBuilder Help > Outlook ShortcutBar > 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: SHOWALLITEMS, SHOWMOREITEMS, SHOWFEWERITEMS, HIDEALLITEMS and SHOWORHIDEITEMS

as_text

The new text that the button will be set to.

SHOWALLITEMS, SHOWMOREITEMS, SHOWFEWERITEMS, HIDEALLITEMS and SHOWORHIDEITEMS 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:

SHOWALLITEMS = "Show All Items"
SHOWMOREITEMS = "Show More Items"
SHOWFEWERITEMS = "Show Few Items"
HIDEALLITEMS = "Hide All Items"
SHOWORHIDEITEMS = "Show or Hide Items"


Copyright © 2021 Werysoft Inc.