menuClear: Difference between revisions

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


| [[Nothing]] |RETURNVALUE=
| [[Nothing]] |RETURNVALUE=
|s2= [[menuClear]] control|= Alternative Syntax
|p21= control: [[Control]] |Alternative Parameter 1=
|r2=  [[Nothing]] |Alternative Return Value=


|x1= <code>[[menuClear]] ([[findDisplay]] 313 [[displayCtrl]] 120);</code> |EXAMPLE1=
|x1= <code>[[menuClear]] ([[findDisplay]] 313 [[displayCtrl]] 120);</code> |EXAMPLE1=

Revision as of 08:16, 3 July 2020

Hover & click on the images for description

Description

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

Syntax

Syntax:
menuClear idc
Parameters:
idc: Number
Return Value:
Nothing

Alternative 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