menuSize: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (2nd syntax, example, see also)
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]3(\|.*)\]\]" to "{{GameCategory|arma3|Scripting Commands}}")
Line 43: Line 43:
<!-- Appropriate categories go here -->
<!-- Appropriate categories go here -->


[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
{{GameCategory|arma3|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Revision as of 23:49, 8 January 2021

Hover & click on the images for description

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

Alternative Syntax

Syntax:
control menuSize path
Parameters:
control: Control
path: Array
Return Value:
Number

Examples

Example 1:
findDisplay 313 displayCtrl 120 menuSize [];

Additional Information

See also:
menuEnablemenuExpandmenuCollapsemenuSetDatamenuSetValue‎menuSetCheckmenuSetActionmenuDeletemenuAdd‎menuHovermenuValuemenuURL‎menuTextmenuSortmenuEnabled‎menuCheckedmenuActionmenuShortcutTextmenuShortcutmenuPicturemenuDatamenuClearmenuSetPicture

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