updateMenuItem: Difference between revisions
Jump to navigation
Jump to search
m (template:command argument fix) |
m (template:command argument fix) |
||
Line 8: | Line 8: | ||
| Sets the text and command for the menu item. index is index as returned from addMenuItem command. command is optional. | | Sets the text and command for the menu item. index is index as returned from addMenuItem command. command is optional. | ||
{{Informative | Some Old Editor Command}} |= | {{Informative | Some Old Editor Command}} |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| map '''updateMenuItem''' [menu item index,text,command] |= | | map '''updateMenuItem''' [menu item index,text,command] |SYNTAX= | ||
|p1= map: [[Control]] - |PARAMETER1= | |p1= map: [[Control]] - |PARAMETER1= |
Revision as of 14:51, 7 April 2019
Description
- Description:
- Sets the text and command for the menu item. index is index as returned from addMenuItem command. command is optional.
- Groups:
- Uncategorised
Syntax
- Syntax:
- map updateMenuItem [menu item index,text,command]
- Parameters:
- map: Control -
- [menu item index,text,command]: Array -
- Return Value:
- Nothing
Examples
- Example 1:
(example)
Additional Information
- See also:
- See also needed
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note