ShowMenu

From QuestWiki
Jump to: navigation, search


Note: This function is deprecated as of Quest 5.1. Use the show menu script command instead.

ShowMenu ( string caption , stringdictionary or stringlist options , boolean allow cancel )

Shows a menu of the specified options and returns a string containing the user input. If a dictionary of options is passed in, the key is returned. If a list of options is passed in, the list item is returned.

If the "allow cancel" parameter is set to true, the Cancel button is available, and if the user chooses it then null is returned.

Personal tools
Namespaces
Variants
Actions
Navigation
Quest Documentation
Toolbox