menuEnable: Difference between revisions
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= | |p22= path: [[Array]] |Alternative Parameter 22= | ||
|r2= [[Nothing]] |Alternative Return Value= | |||
|r2= | |||
|x1= <code>[[findDisplay]] 313 [[displayCtrl]] 120 [[menuEnable]] [0];</code> |EXAMPLE1= | |||
|x1= | |||
| [[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
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:
- menuExpandmenuCollapsemenuSetDatamenuSetValuemenuSetCheckmenuSetActionmenuDeletemenuAddmenuHovermenuValuemenuURLmenuTextmenuSortmenuSizemenuEnabledmenuCheckedmenuActionmenuShortcutTextmenuShortcutmenuPicturemenuDatamenuClearmenuSetPicture
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