menuDelete: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|=GROUP1" to "|GROUP1=")
mNo edit summary
Line 16: Line 16:
| [[Nothing]] |RETURNVALUE=
| [[Nothing]] |RETURNVALUE=


|s2= control [[menuDelete]] path |= Alternative Syntax
|s2= control [[menuDelete]] path |SYNTAX2
|p21= control: [[Control]] |Alternative Parameter 1=
|p21= control: [[Control]] |Alternative PARAMETER21=
|p22= path: [[Array]] |Alternative Parameter 2=
|p22= path: [[Array]] |Alternative PARAMETER22=
|r2=  [[Nothing]] |Alternative Return Value=
|r2=  [[Nothing]] |RETURNVALUE2=


|x1= <code>([[findDisplay]] 313 [[displayCtrl]] 120) [[menuDelete]] [0];//Removes First entry from [[Eden Editor]] menu strip</code>|EXAMPLE1=
|x1= <code>([[findDisplay]] 313 [[displayCtrl]] 120) [[menuDelete]] [0];//Removes First entry from [[Eden Editor]] menu strip</code>|EXAMPLE1=

Revision as of 21:02, 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:
SYNTAX2

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