ctrlParentControlsGroup: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "|PARAMETER1=8" to "|PARAMETER18=") |
Lou Montana (talk | contribs) m (Fix some… things) |
||
Line 2: | Line 2: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | |arma3|Game= | ||
|1.58|Game Version= | |1.58|Game Version= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 14: | Line 12: | ||
| [[ctrlParentControlsGroup]] ctrl |SYNTAX= | | [[ctrlParentControlsGroup]] ctrl |SYNTAX= | ||
|p1= ctrl: [[Control]] - | |p1= ctrl: [[Control]] - child control |PARAMETER1= | ||
| | | [[Control]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | |x1= <code>_ctrlCombo = _ctrl [[controlsGroupCtrl]] 100; {{cc|control}} | ||
[[ctrlParentControlsGroup]] _ctrlCombo; {{cc|parent control group (_ctrl)}}</code> |EXAMPLE1= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[controlsGroupCtrl]] |SEEALSO= | | [[controlsGroupCtrl]] |SEEALSO= | ||
}} | }} | ||
<dl class="command_description"> | <dl class="command_description"> | ||
<!-- BEGIN Note Section --> | <!-- BEGIN Note Section --> | ||
<!-- END Note Section --> | <!-- END Note Section --> | ||
</dl> | </dl> |
Revision as of 20:04, 1 October 2019
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