menuDelete: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]3(\|.*)\]\]" to "{{GameCategory|arma3|Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
|arma3 |= Game | |arma3 |= Game | ||
|1.56|Game Version= | |1.56|Game Version= | ||
Line 7: | Line 6: | ||
|gr1= GUI Control - Menu |GROUP1= | |gr1= GUI Control - Menu |GROUP1= | ||
| Deletes menu entry on given path. |DESCRIPTION= | | Deletes menu entry on given path. |DESCRIPTION= | ||
|[[menuDelete]] [idc,path] |SYNTAX= | |[[menuDelete]] [idc,path] |SYNTAX= | ||
|p1= idc: [[Number]] |PARAMETER1= | |p1= idc: [[Number]] |PARAMETER1= |
Revision as of 01:56, 17 January 2021
Description
- Description:
- Deletes menu entry on given path.
- Groups:
- GUI Control - Menu
Syntax
- Syntax:
- menuDelete [idc,path]
- Parameters:
- idc: Number
- path: Array
- Return Value:
- Nothing
Alternative Syntax
- Syntax:
- control menuDelete path
- Parameters:
- control: Control
- path: Array
- Return Value:
- Nothing
Examples
- Example 1:
(findDisplay 313 displayCtrl 120) menuDelete [1];// Removes second entry from Eden Editor menu strip. Restart Eden Editor to reset the menu.
Additional Information
- See also:
- menuEnablemenuExpandmenuCollapsemenuSetDatamenuSetValuemenuSetCheckmenuSetActionmenuAddmenuHovermenuValuemenuURLmenuTextmenuSortmenuSizemenuEnabledmenuCheckedmenuActionmenuShortcutTextmenuShortcutmenuPicturemenuDatamenuClearmenuSetPicture
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