menuSetShortcut: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " *\| *ALT *SYNTAX[0-9]{1,} *= * " to " ")
m (Text replacement - " *\| *ALTRETURNVALUE[0-9]* *= * " to " ")
Line 27: Line 27:
|p23= shortcut: [[Number]]
|p23= shortcut: [[Number]]


|r2= [[Nothing]] |ALTRETURNVALUE1=
|r2= [[Nothing]]


|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>

Revision as of 16:36, 7 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:
See also needed

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