controlsGroupCtrl: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
m (Text replacement - "<code>_([a-zA-Z0-9_]+) += +_([a-zA-Z0-9_]+) +\[\[([a-zA-Z0-9_]+)\]\] +([0-9]+) *;?<\/code>" to "<sqf>_$1 = _$2 $3 $4;</sqf>")
 
(17 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command


| arma3 |Game name=
|game1= arma3
|version1= 1.42


| 1.42 |Game version=
|gr1= GUI Control


|gr1= GUI Control |GROUP1=
|descr= Returns a child control with specified idc from a controls group


| Returns a child control with specified idc from a controls group |DESCRIPTION=
|s1= ctrlgrp [[controlsGroupCtrl]] idc


| ctrlgrp [[controlsGroupCtrl]] idc |SYNTAX=
|p1= ctrlgrp: [[Control]]


|p1= ctrlgrp: [[Control]]|Parameter1=
|p2= idc: [[Number]]


|p2= idc: [[Number]]|Parameter2=
|r1= [[Control]]


| [[Control]] |RETURNVALUE=
|x1= <sqf>_control = _controlsGroup controlsGroupCtrl 101;</sqf>


| x1= <code>_control = _controlsGroup [[controlsGroupCtrl]] 101;</code> |EXAMPLE1=
|seealso= [[allDisplays]] [[allControls]] [[ctrlCreate]] [[ctrlParentControlsGroup]]
 
| [[allDisplays]], [[allControls]], [[ctrlCreate]], [[ctrlParentControlsGroup]] |SEEALSO=
 
|  |MPBEHAVIOUR=
}}
}}
<h3 style='display:none'>Notes</h3>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style='display:none'>Bottom Section</h3>
{{GameCategory|arma3|New Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Latest revision as of 21:33, 7 May 2022

Hover & click on the images for description

Description

Description:
Returns a child control with specified idc from a controls group
Groups:
GUI Control

Syntax

Syntax:
ctrlgrp controlsGroupCtrl idc
Parameters:
ctrlgrp: Control
idc: Number
Return Value:
Control

Examples

Example 1:
_control = _controlsGroup controlsGroupCtrl 101;

Additional Information

See also:
allDisplays allControls ctrlCreate ctrlParentControlsGroup

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