ctrlParentControlsGroup: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|PARAMETER1=8" to "|PARAMETER18=")
m (Fix some… things)
Line 2: Line 2:
____________________________________________________________________________________________
____________________________________________________________________________________________


|Arma3|Game=
|arma3|Game=


|1.58|Game Version= (number surrounded by NO SPACES)
|1.58|Game Version=
 
|exec=  |= Multiplayer Execution ("server" or empty)
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 14: Line 12:
| [[ctrlParentControlsGroup]] ctrl |SYNTAX=
| [[ctrlParentControlsGroup]] ctrl |SYNTAX=


|p1= ctrl: [[Control]] - Child control |PARAMETER1=
|p1= ctrl: [[Control]] - child control |PARAMETER1=
 
|p2=  |PARAMETER2=
 
|p3=  |PARAMETER3=
 
|p4=  |PARAMETER4=
 
|p5=  |PARAMETER5=
 
|p6=  |PARAMETER6=
 
|p7=  |PARAMETER7=
 
|p8=  |PARAMETER8=
 
|p9=  |PARAMETER9=
 
|p10=  |PARAMETER1=0
 
|p11=  |PARAMETER11=
 
|p12=  |PARAMETER12=
 
|p13=  |PARAMETER1=3
 
|p14=  |PARAMETER1=4
 
|p15=  |PARAMETER15=
 
|p16=  |PARAMETER1=6
 
|p17=  |PARAMETER1=7
 
|p18=  |PARAMETER18=
 
|p19=  |PARAMETER1=9
 
|p20=  |PARAMETER2=0
 
|[[Control]]|RETURNVALUE=
 
 
<!-- START alternative syntax (optional) -->
 
|s2=  |Alternative Syntax=
 
|p21=  |= Alternative Parameter 1
 
|p22=  |Alternative Parameter 22=
 
|p23=  |= Alternative Parameter 3
 
|p24=  |= Alternative Parameter 4
 
|p25=  |= Alternative Parameter 5
 
|p26=  |= Alternative Parameter 6
 
|p27=  |= Alternative Parameter 7
 
|p28=  |= Alternative Parameter 8
 
|p29=  |= Alternative Parameter 9
 
|p30=  |= Alternative Parameter 10
 
|p31=  |= Alternative Parameter 11
 
|p32=  |= Alternative Parameter 12
 
|p33=  |= Alternative Parameter 13
 
|p34=  |= Alternative Parameter 14
 
|p35=  |= Alternative Parameter 15
 
|p36=  |= Alternative Parameter 16
 
|p37=  |= Alternative Parameter 17
 
|p38=  |= Alternative Parameter 18
 
|p39=  |= Alternative Parameter 19
 
|p40=  |= Alternative Parameter 20
 
|r2=  |= Alternative Return Value
 
<!-- END alternative syntax (optional) -->
 
 
<!-- START alternative syntax 2 (optional) -->
 
|s3=  |= Alternative Syntax 2
 
|p41=  |= Alternative 2 Parameter 1
 
|p42=  |= Alternative 2 Parameter 2
 
|p43=  |= Alternative 2 Parameter 3
 
|p44=  |= Alternative 2 Parameter 4
 
|p45=  |= Alternative 2 Parameter 5
 
|p46=  |= Alternative 2 Parameter 6
 
|p47=  |= Alternative 2 Parameter 7
 
|p48=  |= Alternative 2 Parameter 8
 
|p49=  |= Alternative 2 Parameter 9
 
|p50=  |= Alternative 2 Parameter 10
 
|p51=  |= Alternative 2 Parameter 11
 
|p52=  |= Alternative 2 Parameter 12
 
|p53=  |= Alternative 2 Parameter 13
 
|p54=  |= Alternative 2 Parameter 14
 
|p55=  |= Alternative 2 Parameter 15
 
|p56=  |= Alternative 2 Parameter 16
 
|p57=  |= Alternative 2 Parameter 17
 
|p58=  |= Alternative 2 Parameter 18
 
|p59=  |= Alternative 2 Parameter 19
 
|p60=  |= Alternative 2 Parameter 20
 
|r3=  |= Alternative 2 Return Value
 
<!-- END alternative syntax 2 (optional) -->
 
 
<!-- START alternative syntax 3 (optional) -->
 
|s4=  |= Alternative Syntax 3
 
|p61=  |= Alternative 3 Parameter 1
 
|p62=  |= Alternative 3 Parameter 2
 
|p63=  |= Alternative 3 Parameter 3
 
|p64=  |= Alternative 3 Parameter 4
 
|p65=  |= Alternative 3 Parameter 5
 
|p66=  |= Alternative 3 Parameter 6
 
|p67=  |= Alternative 3 Parameter 7
 
|p68=  |= Alternative 3 Parameter 8
 
|p69=  |= Alternative 3 Parameter 9
 
|p70=  |= Alternative 3 Parameter 10
 
|p71=  |= Alternative 3 Parameter 11
 
|p72=  |= Alternative 3 Parameter 12
 
|p73=  |= Alternative 3 Parameter 13
 
|p74=  |= Alternative 3 Parameter 14
 
|p75=  |= Alternative 3 Parameter 15
 
|p76=  |= Alternative 3 Parameter 16
 
|p77=  |= Alternative 3 Parameter 17
 
|p78=  |= Alternative 3 Parameter 18
 
|p79=  |= Alternative 3 Parameter 19
 
|p80=  |= Alternative 3 Parameter 20
 
|r4=  |= Alternative 3 Return Value
 
<!-- END alternative syntax 3 (optional) -->
 
 
<!-- START alternative syntax 4 (optional) -->
 
|s5=  |= Alternative Syntax 4
 
|p81=  |= Alternative 4 Parameter 1
 
|p82=  |= Alternative 4 Parameter 2
 
|p83=  |= Alternative 4 Parameter 3
 
|p84=  |= Alternative 4 Parameter 4
 
|p85=  |= Alternative 4 Parameter 5
 
|p86=  |= Alternative 4 Parameter 6
 
|p87=  |= Alternative 4 Parameter 7
 
|p88=  |= Alternative 4 Parameter 8
 
|p89=  |= Alternative 4 Parameter 9
 
|p90=  |= Alternative 4 Parameter 10
 
|p91=  |= Alternative 4 Parameter 11
 
|p92=  |= Alternative 4 Parameter 12
 
|p93=  |= Alternative 4 Parameter 13
 
|p94=  |= Alternative 4 Parameter 14
 
|p95=  |= Alternative 4 Parameter 15
 
|p96=  |= Alternative 4 Parameter 16


|p97=  |= Alternative 4 Parameter 17
| [[Control]] |RETURNVALUE=
 
|p98=  |= Alternative 4 Parameter 18
 
|p99=  |= Alternative 4 Parameter 19
 
|p100=  |= Alternative 4 Parameter 20
 
|r5=  |= Alternative 4 Return Value
 
<!-- END alternative syntax 4 (optional) -->
____________________________________________________________________________________________
|x1=<code>_ctrlCombo = _ctrl [[controlsGroupCtrl]] 100;//Control
[[ctrlParentControlsGroup]] _ctrlCombo;//Parent control group (_ctrl)</code>  |EXAMPLE1=
____________________________________________________________________________________________
 
|x2=  |EXAMPLE2=
____________________________________________________________________________________________
____________________________________________________________________________________________


|x3= |EXAMPLE3=
|x1= <code>_ctrlCombo = _ctrl [[controlsGroupCtrl]] 100; {{cc|control}}
[[ctrlParentControlsGroup]] _ctrlCombo; {{cc|parent control group (_ctrl)}}</code> |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________
|x4=  |EXAMPLE4=
____________________________________________________________________________________________
|x5=  |EXAMPLE5=
____________________________________________________________________________________________
|x6=  |EXAMPLE6=
____________________________________________________________________________________________
|x7=  |EXAMPLE7=
____________________________________________________________________________________________
|x8=  |EXAMPLE8=
____________________________________________________________________________________________
|x9=  |EXAMPLE9=
____________________________________________________________________________________________
|x10=  |EXAMPLE1=0
____________________________________________________________________________________________
|mp= - |Multiplayer Behaviour=


| [[controlsGroupCtrl]] |SEEALSO=
| [[controlsGroupCtrl]] |SEEALSO=
}}
}}


<dl class="command_description">
<dl class="command_description">
<!-- BEGIN Note Section -->
<!-- BEGIN Note Section -->
<!-- For example:
 
<dd class="notedate">Posted on Month Day, Year - Time (UTC)</dd>
<dt class="note">'''[[User:User Name|User Name]]'''</dt>
<dd class="note">This is an example note. It is true and verifiable, and contains a little code snippet.
<code>[[if]] ([[_this]] == anExample) [[then]] { [[hint]] "Leave it here for others to read"; };</code></dd>
-->
<!-- END Note Section -->
<!-- END Note Section -->
</dl>
</dl>

Revision as of 20:04, 1 October 2019

Hover & click on the images for description

Description

Description:
Returns the parent control of a given child control. If the control is not part of a CT_CONTROLS_GROUP control then controlNull is returned.
Groups:
Uncategorised

Syntax

Syntax:
ctrlParentControlsGroup ctrl
Parameters:
ctrl: Control - child control
Return Value:
Control

Examples

Example 1:
_ctrlCombo = _ctrl controlsGroupCtrl 100; // control ctrlParentControlsGroup _ctrlCombo; // parent control group (_ctrl)

Additional Information

See also:
controlsGroupCtrl

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

Bottom Section