controlsGroupCtrl: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[[Cc]ategory:[ _]?Arma[ _]3:[ _]([^|]*)[ _]?\|.*\]\]" to "{{GameCategory|arma3|$1}}")
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>")
 
(20 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_List}}
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[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