allControls: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>") |
Lou Montana (talk | contribs) m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>") |
||
Line 22: | Line 22: | ||
|r2= [[Array]] of [[Control]]s | |r2= [[Array]] of [[Control]]s | ||
|x1= < | |x1= <sqf>_allCtrls = allControls findDisplay 46;</sqf> | ||
|x2= <sqf>_allSubCtrls = allControls _myControlsGroup;</sqf> | |x2= <sqf>_allSubCtrls = allControls _myControlsGroup;</sqf> |
Revision as of 10:21, 13 May 2022
Description
- Description:
- Returns a list of all controls for desired existing display. Returned controls also include controls from CT_CONTROLS_GROUPs.
- Groups:
- GUI Control
Syntax
- Syntax:
- allControls display
- Parameters:
- display: Display
- Return Value:
- Array of Controls
Alternative Syntax
- Syntax:
- allControls controlsGroup
- Parameters:
- controlsGroup: Control - CT_CONTROLS_GROUP
- Return Value:
- Array of Controls
Examples
- Example 1:
- Example 2:
Additional Information
- See also:
- allDisplays controlsGroupCtrl ctrlCreate allVariables allCurators allGroups allDead allDeadMen
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