menuEnabled: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<!-- Appropriate categories go here -->" to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects? in MP|M...)
Line 23: Line 23:
|p22= path: [[Array]]
|p22= path: [[Array]]


|r2= [[Boolean]] |Alternative Return Value=
|r2= [[Boolean]]


|x1= <code>_isEnabled = [[findDisplay]] 313 [[displayCtrl]] 120 [[menuEnabled]] [0];</code>
|x1= <code>_isEnabled = [[findDisplay]] 313 [[displayCtrl]] 120 [[menuEnabled]] [0];</code>

Revision as of 11:51, 18 January 2021

Hover & click on the images for description

Description

Description:
Returns if menu entry on given path is enabled or not.
Groups:
GUI Control - Menu

Syntax

Syntax:
menuEnabled [idc, path]
Parameters:
idc: Number
path: Array
Return Value:
Boolean

Alternative Syntax

Syntax:
control menuEnabled path
Parameters:
control: Control
path: Array
Return Value:
Boolean

Examples

Example 1:
_isEnabled = findDisplay 313 displayCtrl 120 menuEnabled [0];

Additional Information

See also:
menuEnable

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