menuAction: Difference between revisions
Pabstmirror (talk | contribs) m (fix syntax 2 input type) |
BrettMayson (talk | contribs) mNo edit summary |
||
| Line 12: | Line 12: | ||
|p1= idc: [[Number]] | |p1= idc: [[Number]] | ||
|p2= path: [[ | |p2= path: [[Tree View Path]] | ||
|r1= [[String]] - action | |r1= [[String]] - action | ||
| Line 20: | Line 20: | ||
|p21= control: [[Control]] | |p21= control: [[Control]] | ||
|p22= path: [[ | |p22= path: [[Tree View Path]] | ||
|r2= [[String]] - action | |r2= [[String]] - action | ||
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