menuAction: Difference between revisions
Lou Montana (talk | contribs) m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>") |
BrettMayson (talk | contribs) mNo edit summary |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 12: | Line 12: | ||
|p1= idc: [[Number]] | |p1= idc: [[Number]] | ||
|p2= path: [[ | |p2= path: [[Tree View Path]] | ||
|r1= [[String]] - action | |r1= [[String]] - action | ||
| Line 18: | Line 18: | ||
|s2= control [[menuAction]] path | |s2= control [[menuAction]] path | ||
|p21= control: [[ | |p21= control: [[Control]] | ||
|p22= path: [[ | |p22= path: [[Tree View Path]] | ||
|r2= [[String]] - | |r2= [[String]] - action | ||
|x1= <sqf>menuAction [120, [1, 0]];</sqf> | |x1= <sqf>menuAction [120, [1, 0]];</sqf> | ||
Latest revision as of 18:28, 2 April 2026
Description
- Description:
- Returns action stored in item on given path in CT_MENU_STRIP control.
- Groups:
- GUI Control - Menu
Syntax
- Syntax:
- menuAction [idc, path]
- Parameters:
- idc: Number
- path: Tree View Path
- Return Value:
- String - action
Alternative Syntax
- Syntax:
- control menuAction path
- Parameters:
- control: Control
- path: Tree View Path
- Return Value:
- String - action
Examples
- Example 1:
- menuAction [120, [1, 0]];
- Example 2:
Additional Information
- See also:
- menuSetAction
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note