menuSetShortcut: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " *\| *ALTRETURNVALUE[0-9]* *= * " to " ")
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
Line 31: Line 31:
|x1=  <Code>_ctrlMenuStrip [[menuSetShortcut]] [<nowiki>[</nowiki>0,0],2048 + 0x16]; {{cc|ALT + U}}</code>
|x1=  <Code>_ctrlMenuStrip [[menuSetShortcut]] [<nowiki>[</nowiki>0,0],2048 + 0x16]; {{cc|ALT + U}}</code>


|[[menuShortcut]] [[menuShortcutText]]
|seealso= [[menuShortcut]] [[menuShortcutText]]
}}
}}


{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Revision as of 00:52, 17 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
GUI Control - Menu

Syntax

Syntax:
Syntax needed
Parameters:
idc: Number
path: Array
shortcut: Number
Return Value:
Return value needed

Alternative Syntax

Syntax:
control menuSetShortcut [path, shortcut]
Parameters:
control: Control
path: Array
shortcut: Number
Return Value:
Nothing

Examples

Example 1:
_ctrlMenuStrip menuSetShortcut [[0,0],2048 + 0x16]; // ALT + U

Additional Information

See also:
menuShortcut menuShortcutText

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