ctrlParentControlsGroup: Difference between revisions
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 |= | | Returns the parent control of a given child control |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[ctrlParentControlsGroup]] ctrl |= | | [[ctrlParentControlsGroup]] ctrl |SYNTAX= | ||
|p1= ctrl: [[Control]] - Child control |= | |p1= ctrl: [[Control]] - Child control |PARAMETER1= | ||
|p2= |= | |p2= |PARAMETER2= | ||
|p3= |= | |p3= |PARAMETER3= | ||
|p4= |= | |p4= |PARAMETER4= | ||
|p5= |= | |p5= |PARAMETER5= | ||
|p6= |= | |p6= |PARAMETER6= | ||
|p7= |= | |p7= |PARAMETER7= | ||
|p8= |= | |p8= |PARAMETER8= | ||
|p9= |= | |p9= |PARAMETER9= | ||
|p10= |= | |p10= |PARAMETER1=0 | ||
|p11= |= | |p11= |PARAMETER1=1 | ||
|p12= |= | |p12= |PARAMETER1=2 | ||
|p13= |= | |p13= |PARAMETER1=3 | ||
|p14= |= | |p14= |PARAMETER1=4 | ||
|p15= |= | |p15= |PARAMETER1=5 | ||
|p16= |= | |p16= |PARAMETER1=6 | ||
|p17= |= | |p17= |PARAMETER1=7 | ||
|p18= |= | |p18= |PARAMETER1=8 | ||
|p19= |= | |p19= |PARAMETER1=9 | ||
|p20= |= | |p20= |PARAMETER2=0 | ||
|[[Control]]|= | |[[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> |= | [[ctrlParentControlsGroup]] _ctrlCombo;//Parent control group (_ctrl)</code> |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x2= |= | |x2= |EXAMPLE2= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x3= |= | |x3= |EXAMPLE3= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x4= |= | |x4= |EXAMPLE4= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x5= |= | |x5= |EXAMPLE5= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x6= |= | |x6= |EXAMPLE6= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x7= |= | |x7= |EXAMPLE7= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x8= |= | |x8= |EXAMPLE8= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x9= |= | |x9= |EXAMPLE9= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x10= |= | |x10= |EXAMPLE1=0 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|mp= - |= Multiplayer Behaviour | |mp= - |= Multiplayer Behaviour | ||
| [[controlsGroupCtrl]] |= | | [[controlsGroupCtrl]] |SEEALSO= | ||
}} | }} |
Revision as of 14:36, 7 April 2019
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