menuText: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "|gr1= GUI Control |GROUP1=" to "|gr1= GUI Control - Menu |GROUP1=") |
m (added alt syntax and example) |
||
Line 11: | Line 11: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[menuText]] [idc, path] |SYNTAX= | | [[menuText]] [idc, path] |SYNTAX= | ||
|p1= idc: [[Number]] |PARAMETER1= | |p1= idc: [[Number]] |PARAMETER1= | ||
|p2= path: [[Array]] |PARAMETER2= | |p2= path: [[Array]] |PARAMETER2= | ||
| [[String]] |RETURNVALUE= | | [[String]] |RETURNVALUE= | ||
|s2= control |Alternative Syntax= | |s2= control [[menuText]] path |Alternative Syntax= | ||
|p21= control: [[Control]] |Alternative Parameter 1= | |p21= control: [[Control]] |Alternative Parameter 1= | ||
|p22= | |||
|p22= path: [[Array]] |Alternative Parameter 2= | |||
|r2= | |||
|r2= [[String]] |Alternative Return Value= | |||
|x1= | |||
|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= | | [[menuEnable]], [[menuExpand]], [[menuCollapse]], [[menuSetData]], [[menuSetValue]], [[menuSetCheck]], [[menuSetAction]], [[menuDelete]], [[menuAdd]], [[menuHover]], [[menuValue]], [[menuURL]], [[menuSort]], [[menuSize]], [[menuEnabled]], [[menuChecked]], [[menuAction]], [[menuShortcutText]], [[menuShortcut]], [[menuPicture]], [[menuData]], [[menuClear]], [[menuSetPicture]] |SEEALSO= | ||
}} | }} |
Revision as of 23:48, 1 October 2020
Description
- Description:
- Returns current text set in menu entry on given path.
- Groups:
- GUI Control - Menu
Syntax
Alternative Syntax
Examples
- Example 1:
_ctrlMenuStrip menuText [1];
Additional Information
- See also:
- menuEnablemenuExpandmenuCollapsemenuSetDatamenuSetValuemenuSetCheckmenuSetActionmenuDeletemenuAddmenuHovermenuValuemenuURLmenuSortmenuSizemenuEnabledmenuCheckedmenuActionmenuShortcutTextmenuShortcutmenuPicturemenuDatamenuClearmenuSetPicture
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