allControls: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (see also) |
Lou Montana (talk | contribs) (Fix description) |
||
(38 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=command | ||
| arma3 |= | |game1= arma3 | ||
|version1= 1.38 | |||
| | |gr1= GUI Control | ||
| Returns a list of all controls | |descr= Returns a list of all controls in the provided display or controls group, including "sub"-controls from other [[CT_CONTROLS_GROUP]]s. | ||
|s1= [[allControls]] display | |||
| | |p1= display: [[Display]] | ||
| | |r1= [[Array]] of [[Control]]s | ||
| [[ | |s2= [[allControls]] controlsGroup | ||
| | |s2since= arma3 2.04 | ||
| [[ | |p21= controlsGroup: [[Control]] - [[CT_CONTROLS_GROUP]] | ||
| | |r2= [[Array]] of [[Control]]s | ||
|x1= <sqf>_allCtrls = allControls findDisplay 46;</sqf> | |||
< | |||
< | |x2= <sqf>_allSubCtrls = allControls _myControlsGroup;</sqf> | ||
</ | |||
|seealso= [[allDisplays]] [[controlsGroupCtrl]] [[ctrlCreate]] [[allVariables]] [[allCurators]] [[allGroups]] [[allDead]] [[allDeadMen]] | |||
[[ | }} | ||
[[ | |||
[[ |
Latest revision as of 23:03, 4 February 2024
Description
- Description:
- Returns a list of all controls in the provided display or controls group, including "sub"-controls from other 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