menuEnable: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (2nd syntax and example)
Line 14: Line 14:
|p2= path: [[Array]] |PARAMETER2=
|p2= path: [[Array]] |PARAMETER2=
| [[Nothing]] |RETURNVALUE=
| [[Nothing]] |RETURNVALUE=
<!--
 
|s2= control |Alternative Syntax=
|s2= control [[menuEnable]] path |Alternative Syntax=
|p21= control: [[Control]] |Alternative Parameter 1=
|p21= control: [[Control]] |Alternative Parameter 1=
|p22= |Alternative Parameter 22=
|p22= path: [[Array]] |Alternative Parameter 22=
|p23=  |Alternative Parameter 3=
|r2= [[Nothing]] |Alternative Return Value=
|r2= |Alternative Return Value=
 
-->
|x1= <code>[[findDisplay]] 313 [[displayCtrl]] 120 [[menuEnable]] [0];</code> |EXAMPLE1=
|x1= |EXAMPLE1=
 
| ‎[[menuExpand]], [[menuCollapse]], [[menuSetData]], [[menuSetValue]], [[‎menuSetCheck]], [[menuSetAction]], [[menuDelete]], [[menuAdd]], [[‎menuHover]], [[menuValue]], [[menuURL]], [[‎menuText]], [[menuSort]], [[‎menuSize]], [[menuEnabled]], [[‎menuChecked]], [[menuAction]], [[menuShortcutText]], [[menuShortcut]], [[menuPicture]], [[menuData]], [[menuClear]], [[menuSetPicture]] |SEEALSO=
| ‎[[menuExpand]], [[menuCollapse]], [[menuSetData]], [[menuSetValue]], [[‎menuSetCheck]], [[menuSetAction]], [[menuDelete]], [[menuAdd]], [[‎menuHover]], [[menuValue]], [[menuURL]], [[‎menuText]], [[menuSort]], [[‎menuSize]], [[menuEnabled]], [[‎menuChecked]], [[menuAction]], [[menuShortcutText]], [[menuShortcut]], [[menuPicture]], [[menuData]], [[menuClear]], [[menuSetPicture]] |SEEALSO=
}}
}}

Revision as of 01:01, 18 October 2020

Hover & click on the images for description

Description

Description:
Enables disabled menu entry on given path.
Groups:
GUI Control - Menu

Syntax

Syntax:
menuEnable [idc, path]
Parameters:
idc: Number
path: Array
Return Value:
Nothing

Alternative Syntax

Syntax:
control menuEnable path
Parameters:
control: Control
path: Array
Return Value:
Nothing

Examples

Example 1:
findDisplay 313 displayCtrl 120 menuEnable [0];

Additional Information

See also:
menuExpandmenuCollapsemenuSetDatamenuSetValue‎menuSetCheckmenuSetActionmenuDeletemenuAdd‎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