menuSetAction: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|=GROUP1" to "|GROUP1=")
m (Text replacement - " \| *s2 *=(.*)\|= Alternative Syntax * " to " |s2=$1|Alternative Syntax= ")
Line 17: Line 17:
| [[Number]] |RETURNVALUE=
| [[Number]] |RETURNVALUE=
<!--
<!--
|s2= control |= Alternative Syntax
|s2= control |Alternative Syntax=
|p21= control: [[Control]] |Alternative Parameter 1=
|p21= control: [[Control]] |Alternative Parameter 1=
|p22=  |Alternative Parameter 2=
|p22=  |Alternative Parameter 2=

Revision as of 02:19, 25 September 2020

Hover & click on the images for description

Description

Description:
Sets new action into menu entry on given path.
Groups:
GUI Control

Syntax

Syntax:
menuSetAction [idc, path, action]
Parameters:
idc: Number
path: Array
text: String
Return Value:
Number

Examples

Examples:
Example needed

Additional Information

See also:
menuEnablemenuExpandmenuCollapsemenuSetDatamenuSetValue‎menuSetCheckmenuDeletemenuAdd‎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