menuClear: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Alternative Return Value " to "|Alternative Return Value= ")
m (added example)
Line 8: Line 8:
| Removes all entries from given menu strip. |DESCRIPTION=
| Removes all entries from given menu strip. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________
| [[menuClear]] idc |SYNTAX=
| [[menuClear]] control|SYNTAX=
|p1= idc: [[Number]] |PARAMETER1=
|p1= control: [[Control]] |PARAMETER1=
|p2=  |PARAMETER2=
|p2=  |PARAMETER2=
|p3=  |PARAMETER3=
|p3=  |PARAMETER3=


| [[Nothing]] |RETURNVALUE=
| [[Nothing]] |RETURNVALUE=
<!--
 
|s2= control |= Alternative Syntax
|x1= <code>[[menuClear]] ([[findDisplay]] 313 [[displayCtrl]] 120);</code> |EXAMPLE1=
|p21= control: [[Control]] |Alternative Parameter 1=
 
|p22=  |Alternative Parameter 2=
|p23=  |Alternative Parameter 3=
|r2=  |Alternative Return Value=
-->
|x1=  |EXAMPLE1=
| ‎[[menuEnable]], [[menuExpand]], [[menuCollapse]], [[menuSetData]], [[menuSetValue]], [[‎menuSetCheck]], [[menuSetAction]], [[menuDelete]], [[menuAdd]], [[‎menuHover]], [[menuValue]], [[menuURL]], [[‎menuText]], [[menuSort]], [[‎menuSize]], [[menuEnabled]], [[‎menuChecked]], [[menuAction]], [[menuShortcutText]], [[menuShortcut]], [[menuPicture]], [[menuData]], [[menuSetPicture]] |SEEALSO=
| ‎[[menuEnable]], [[menuExpand]], [[menuCollapse]], [[menuSetData]], [[menuSetValue]], [[‎menuSetCheck]], [[menuSetAction]], [[menuDelete]], [[menuAdd]], [[‎menuHover]], [[menuValue]], [[menuURL]], [[‎menuText]], [[menuSort]], [[‎menuSize]], [[menuEnabled]], [[‎menuChecked]], [[menuAction]], [[menuShortcutText]], [[menuShortcut]], [[menuPicture]], [[menuData]], [[menuSetPicture]] |SEEALSO=
}}
}}

Revision as of 08:06, 3 July 2020

Hover & click on the images for description

Description

Description:
Removes all entries from given menu strip.
Groups:
Uncategorised

Syntax

Syntax:
menuClear control
Parameters:
control: Control
Return Value:
Nothing

Examples

Example 1:
menuClear (findDisplay 313 displayCtrl 120);

Additional Information

See also:
menuEnablemenuExpandmenuCollapsemenuSetDatamenuSetValue‎menuSetCheckmenuSetActionmenuDeletemenuAdd‎menuHovermenuValuemenuURL‎menuTextmenuSort‎menuSizemenuEnabled‎menuCheckedmenuActionmenuShortcutTextmenuShortcutmenuPicturemenuDatamenuSetPicture

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

Bottom Section