Navigation

  • index
  • next |
  • previous |
  • UniPlot Documentation »
  • UniScript Functions »
  • MenuCreatePopup

MenuCreatePopup¶

MenuCreatePopup creates a popup menu.

bool = MenuCreatePopup(ssName, svMenuCommands)

Return Value

bool is TRUE if the menu could be created and otherwise FALSE.

Parameters

ssName

ssName is the name of a popup menu.

svMenuCommands

svMenuCommands is a string vector of function names or popup menu names. The functions must be registered with MnSetCommand or RegisterCommand. To insert a popup menu item, the menu name and the menu item text must be separated by an @ sign. Example: “Group1@ My Group1” where Group1 is the popup menu name created with MenuCreatePopup. “My Group1” is the menu item text. An empty string inserts an item separator.

Example

Some code examples for adding menu items to popup menus can be found in the Overview Menus and MnInsertPopup.

See also

Overview Menus, MenuInsertCommands, MnSetCommand, RegisterCommand, MnInsertPopup

id-62551

Previous topic

mem_unpack

Next topic

MenuDisplayContextMenu

This Page

  • Show Source

Quick search

Navigation

  • index
  • next |
  • previous |
  • UniPlot Documentation »
  • UniScript Functions »
  • MenuCreatePopup
© Copyright . Last updated on Oct 24, 2025. Created using Sphinx 7.3.7.