menuSize: Difference between revisions
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...) |
BrettMayson (talk | contribs) mNo edit summary |
||
| (43 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{ | {{RV|type=command | ||
|arma3 |= | |game1= arma3 | ||
|version1= 1.56 | |||
|gr1= GUI Control - Menu | |gr1= GUI Control - Menu | ||
| Returns how many sub entries is in item on given path. | |descr= Returns how many sub entries is in item on given path. | ||
| [[menuSize]] [idc, path] | |s1= [[menuSize]] [idc, path] | ||
|p1= idc: [[Number]] | |p1= idc: [[Number]] | ||
|p2= path: [[ | |p2= path: [[Tree View Path]] | ||
| [[Number]] | |r1= [[Number]] | ||
|s2= control [[menuSize]] path | |s2= control [[menuSize]] path | ||
| Line 21: | Line 20: | ||
|p21= control: [[Control]] | |p21= control: [[Control]] | ||
|p22= path: [[ | |p22= path: [[Tree View Path]] | ||
|r2= | |r2= [[Number]] | ||
|x1= | |x1= <sqf>findDisplay 313 displayCtrl 120 menuSize [];</sqf> | ||
| | |seealso= [[menuEnable]] [[menuExpand]] [[menuCollapse]] [[menuSetData]] [[menuSetValue]] [[menuSetCheck]] [[menuSetAction]] [[menuDelete]] [[menuAdd]] [[menuHover]] [[menuValue]] [[menuURL]] [[menuText]] [[menuSort]] [[menuEnabled]] [[menuChecked]] [[menuAction]] [[menuShortcutText]] [[menuShortcut]] [[menuPicture]] [[menuData]] [[menuClear]] [[menuSetPicture]] | ||
}} | }} | ||
Latest revision as of 18:30, 2 April 2026
Description
- Description:
- Returns how many sub entries is in item on given path.
- Groups:
- GUI Control - Menu
Syntax
- Syntax:
- menuSize [idc, path]
- Parameters:
- idc: Number
- path: Tree View Path
- Return Value:
- Number
Alternative Syntax
- Syntax:
- control menuSize path
- Parameters:
- control: Control
- path: Tree View Path
- Return Value:
- Number
Examples
- Example 1:
Additional Information
- See also:
- menuEnable menuExpand menuCollapse menuSetData menuSetValue menuSetCheck menuSetAction menuDelete menuAdd menuHover menuValue menuURL menuText menuSort menuEnabled menuChecked menuAction menuShortcutText menuShortcut menuPicture menuData menuClear menuSetPicture
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note