MenuName

Applies to

Windows

Description

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

Usage


In a painter

StepsTo specify a menu:

  1. 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.