ctrlParentControlsGroup: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (formatted syntax)
m (template:command argument fix)
Line 9: Line 9:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Returns the parent control of a given child control |= Description
| Returns the parent control of a given child control |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[ctrlParentControlsGroup]] ctrl |= Syntax
| [[ctrlParentControlsGroup]] ctrl |SYNTAX=


|p1= ctrl: [[Control]] - Child control |= Parameter 1
|p1= ctrl: [[Control]] - Child control |PARAMETER1=


|p2=  |= Parameter 2
|p2=  |PARAMETER2=


|p3=  |= Parameter 3
|p3=  |PARAMETER3=


|p4=  |= Parameter 4
|p4=  |PARAMETER4=


|p5=  |= Parameter 5
|p5=  |PARAMETER5=


|p6=  |= Parameter 6
|p6=  |PARAMETER6=


|p7=  |= Parameter 7
|p7=  |PARAMETER7=


|p8=  |= Parameter 8
|p8=  |PARAMETER8=


|p9=  |= Parameter 9
|p9=  |PARAMETER9=


|p10=  |= Parameter 10
|p10=  |PARAMETER1=0


|p11=  |= Parameter 11
|p11=  |PARAMETER1=1


|p12=  |= Parameter 12
|p12=  |PARAMETER1=2


|p13=  |= Parameter 13
|p13=  |PARAMETER1=3


|p14=  |= Parameter 14
|p14=  |PARAMETER1=4


|p15=  |= Parameter 15
|p15=  |PARAMETER1=5


|p16=  |= Parameter 16
|p16=  |PARAMETER1=6


|p17=  |= Parameter 17
|p17=  |PARAMETER1=7


|p18=  |= Parameter 18
|p18=  |PARAMETER1=8


|p19=  |= Parameter 19
|p19=  |PARAMETER1=9


|p20=  |= Parameter 20
|p20=  |PARAMETER2=0


|[[Control]]|= Return Value
|[[Control]]|RETURNVALUE=




Line 253: Line 253:
____________________________________________________________________________________________
____________________________________________________________________________________________
|x1=<code>_ctrlCombo = _ctrl [[controlsGroupCtrl]] 100;//Control
|x1=<code>_ctrlCombo = _ctrl [[controlsGroupCtrl]] 100;//Control
[[ctrlParentControlsGroup]] _ctrlCombo;//Parent control group (_ctrl)</code>  |= Example 1
[[ctrlParentControlsGroup]] _ctrlCombo;//Parent control group (_ctrl)</code>  |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


|x2=  |= Example 2
|x2=  |EXAMPLE2=
____________________________________________________________________________________________
____________________________________________________________________________________________


|x3=  |= Example 3
|x3=  |EXAMPLE3=
____________________________________________________________________________________________
____________________________________________________________________________________________


|x4=  |= Example 4
|x4=  |EXAMPLE4=
____________________________________________________________________________________________
____________________________________________________________________________________________


|x5=  |= Example 5
|x5=  |EXAMPLE5=
____________________________________________________________________________________________
____________________________________________________________________________________________


|x6=  |= Example 6
|x6=  |EXAMPLE6=
____________________________________________________________________________________________
____________________________________________________________________________________________


|x7=  |= Example 7
|x7=  |EXAMPLE7=
____________________________________________________________________________________________
____________________________________________________________________________________________


|x8=  |= Example 8
|x8=  |EXAMPLE8=
____________________________________________________________________________________________
____________________________________________________________________________________________


|x9=  |= Example 9
|x9=  |EXAMPLE9=
____________________________________________________________________________________________
____________________________________________________________________________________________


|x10=  |= Example 10
|x10=  |EXAMPLE1=0
____________________________________________________________________________________________
____________________________________________________________________________________________


|mp= - |= Multiplayer Behaviour
|mp= - |= Multiplayer Behaviour


| [[controlsGroupCtrl]] |= See Also
| [[controlsGroupCtrl]] |SEEALSO=


}}
}}

Revision as of 15:36, 7 April 2019

Hover & click on the images for description

Description

Description:
Returns the parent control of a given child control
Multiplayer:
-
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