menuClear: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|=GROUP1" to "|GROUP1=")
m (Text replacement - " \| *s2 *=(.*)\|= Alternative Syntax * " to " |s2=$1|Alternative Syntax= ")
Line 15: Line 15:
| [[Nothing]] |RETURNVALUE=
| [[Nothing]] |RETURNVALUE=


|s2= [[menuClear]] control|= Alternative Syntax
|s2= [[menuClear]] control|Alternative Syntax=
|p21= control: [[Control]] |Alternative Parameter 1=
|p21= control: [[Control]] |Alternative Parameter 1=



Revision as of 02:19, 25 September 2020

Hover & click on the images for description

Description

Description:
Removes all entries from given menu strip.
Groups:
GUI Control

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