controlsGroupCtrl: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Game version" to "|Game version=")
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>")
 
(27 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
____________________________________________________________________________________________


| Returns a child control with specified idc from a controls group |DESCRIPTION=
|descr= Returns a child control with specified idc from a controls group
____________________________________________________________________________________________


|s1= ctrlgrp [[controlsGroupCtrl]] idc


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


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


| [[Control]] |RETURNVALUE=
|r1= [[Control]]
____________________________________________________________________________________________


| x1= <code>_control = _controlsGroup [[controlsGroupCtrl]] 101;</code>|EXAMPLE1=
|x1= <sqf>_control = _controlsGroup controlsGroupCtrl 101;</sqf>
____________________________________________________________________________________________


| [[allDisplays]], [[allControls]], [[ctrlCreate]], [[ctrlParentControlsGroup]] |SEEALSO=
|seealso= [[allDisplays]] [[allControls]] [[ctrlCreate]] [[ctrlParentControlsGroup]]
 
|  |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>
[[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_GUI_Control|{{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