menuSetShortcut: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " {{uc:{{PAGENAME}}}}" to "")
m (Text replacement - "\|( *\[\[[a-zA-Z]+\]\]) * \| *s2 *=" to "|r1=$1 |s2=")
Line 17: Line 17:
|p3= shortcut: [[Number]]
|p3= shortcut: [[Number]]


| [[Nothing]]
|r1= [[Nothing]]


|s2= control [[menuSetShortcut]] [path, shortcut]
|s2= control [[menuSetShortcut]] [path, shortcut]

Revision as of 16:34, 10 June 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:
Nothing

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