menuText: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (added alt syntax and example)
m (see also)
Line 28: Line 28:
|x1= <code>_ctrlMenuStrip [[menuText]] [1];</code> |EXAMPLE1=
|x1= <code>_ctrlMenuStrip [[menuText]] [1];</code> |EXAMPLE1=


| [[menuEnable]], [[menuExpand]], [[menuCollapse]], [[menuSetData]], [[menuSetValue]], [[‎menuSetCheck]], [[menuSetAction]], [[menuDelete]], [[menuAdd]], [[‎menuHover]], [[menuValue]], [[menuURL]], [[menuSort]], [[‎menuSize]], [[menuEnabled]], [[‎menuChecked]], [[menuAction]], [[menuShortcutText]], [[menuShortcut]], [[menuPicture]], [[menuData]], [[menuClear]], [[menuSetPicture]] |SEEALSO=
| [[menuSetText]] |SEEALSO=
}}
}}



Revision as of 11:38, 19 October 2020

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: Array
Return Value:
String

Alternative Syntax

Syntax:
control menuText path
Parameters:
control: Control
path: Array
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 or on the Forums.
Only post proven facts here! Add Note

Bottom Section