Applies to



The MenuName property specifies the menu object that is the menu for the window.


In a painter

To specify a menu:

  • Enter a menu name in the Menu Name field on the General page of the window's Properties view, or use the Browse button to choose a menu object from the current or another PBL.

In scripts

The MenuName property takes a string containing the name of a menu object. PowerBuilder uses it internally to identify the menu. Do not change this property in a script. Instead, use the ChangeMenu or PopMenu functions to display a menu.