menuDelete: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 16: Line 16:
| [[Nothing]] |RETURNVALUE=
| [[Nothing]] |RETURNVALUE=


|s2= control [[menuDelete]] path |SYNTAX2
|s2= control [[menuDelete]] path |SYNTAX2=
|p21= control: [[Control]] |Alternative PARAMETER21=
|p21= control: [[Control]] |Alternative PARAMETER21=
|p22= path: [[Array]] |Alternative PARAMETER22=
|p22= path: [[Array]] |Alternative PARAMETER22=

Revision as of 21:03, 24 September 2020

Hover & click on the images for description

Description

Description:
Deletes menu entry on given path.
Groups:
GUI Control

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 [0];//Removes First entry from Eden Editor menu strip

Additional Information

See also:
menuEnablemenuExpandmenuCollapsemenuSetDatamenuSetValue‎menuSetCheckmenuSetActionmenuAdd‎menuHovermenuValuemenuURL‎menuTextmenuSort‎menuSizemenuEnabled‎menuCheckedmenuActionmenuShortcutTextmenuShortcutmenuPicturemenuDatamenuClearmenuSetPicture

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