menuAction: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Alternative Return Value " to "|Alternative Return Value= ")
(alt syntax)
Line 6: Line 6:
|eff=  |Multiplayer Effects=
|eff=  |Multiplayer Effects=
____________________________________________________________________________________________
____________________________________________________________________________________________
| Returns action stored in item on given path. |DESCRIPTION=
| Returns action stored in item on given path in menu strip control. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________
| [[menuAction]] [idc, path] |SYNTAX=
| [[menuAction]] [idc, path] |SYNTAX=
|p1= idc: [[Number]] |PARAMETER1=
|p1= [idc, path]: [[Array]] |PARAMETER1=
|p2= Path: [[Array]] |PARAMETER2=
|p2= idc: [[Number]] |PARAMETER2=
|p3= |PARAMETER3=
|p3= path: [[Array]] |PARAMETER3=
| [[String]] - Action |RETURNVALUE=
 
|s2= control [[menuAction]] path |SYNTAX2=
|p21= control: [[Number]] |PARAMETER21=
|p22= path: [[Array]] |PARAMETER22=
| r2= [[String]] - Action |RETURNVALUE2=


| [[String]] - Action |RETURNVALUE=
<!--
<!--
|s2= control |= Alternative Syntax
|s2= control |= Alternative Syntax

Revision as of 14:02, 6 February 2020

Hover & click on the images for description

Description

Description:
Returns action stored in item on given path in menu strip control.
Groups:
Uncategorised

Syntax

Syntax:
menuAction [idc, path]
Parameters:
[idc, path]: Array
idc: Number
path: Array
Return Value:
String - Action

Alternative Syntax

Syntax:
control menuAction path
Parameters:
control: Number
path: Array
Return Value:
String - Action

Examples

Examples:
Example needed

Additional Information

See also:
menuEnablemenuExpandmenuCollapsemenuSetDatamenuSetValue‎menuSetCheckmenuSetActionmenuDeletemenuAdd‎menuHovermenuValuemenuURL‎menuTextmenuSort‎menuSizemenuEnabled‎menuCheckedmenuShortcutTextmenuShortcutmenuPicturemenuDatamenuClearmenuSetPicture

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