CNS Menu

Dynamic Menus

<- Back to CNS Menu function list

CNSMenu_GetMenuName

Description

This function will return the name of the menu that contains the menu item that the user last selected. If you have more than one menu set up to call the same script in your database, you can use this function to determine which menu was actually used.

Return Type
Text
Format
CNSMenu_GetMenuName
Related Items
CNSMenu_GetMenuChoice, CNSMenu_GetMenuName, CNSMenu_GetMouseButton, CNSMenu_GetMouseCoordinates
Example

Code:

CNSMenu_GetMenuValue

Result:

Returns the name of the menu that contains the menu item the user last selected.