CloseMenu - UI
From Creation Kit
|This article has been flagged as incomplete.|
|Please help improve the wiki by learning how to contribute.|
Closes a menu by its name.
bool Function CloseMenu(string menuName) Native Global
- menuName: The name of the menu to be closed.
- Return value does not indicate the menu is closed, only that it sent the message.
If (UI.CloseMenu("MyMenu")) Debug.Trace("MyMenu has been sent the close message.") Else Debug.Trace("Could not send close message to MyMenu.") EndIf