menuText: Difference between revisions

From Bohemia Interactive Community
m (Text replacement - "<code>([a-zA-Z0-9_, ]+) +\[\[([a-zA-Z0-9_]+)\]\] +(\[[a-zA-Z0-9_, ]+\]);?<\/code>" to "<sqf>$1 $2 $3;</sqf>")
mNo edit summary
 
Line 10: Line 10:
|p1= idc: [[Number]]
|p1= idc: [[Number]]


|p2= path: [[Array]]
|p2= path: [[Tree View Path]]


|r1= [[String]]
|r1= [[String]]
Line 18: Line 18:
|p21= control: [[Control]]
|p21= control: [[Control]]


|p22= path: [[Array]]
|p22= path: [[Tree View Path]]


|r2= [[String]]
|r2= [[String]]

Latest revision as of 18:31, 2 April 2026

Hover & click on the images for description

Description

Description:
Returns current text set in menu entry on given path.
Groups:
GUI Control - Menu

Syntax

Syntax:
menuText [idc, path]
Parameters:
idc: Number
path: Tree View Path
Return Value:
String

Alternative Syntax

Syntax:
control menuText path
Parameters:
control: Control
path: Tree View Path
Return Value:
String

Examples

Example 1:
_ctrlMenuStrip menuText [1];

Additional Information

See also:
menuSetText

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note