ctrlParentControlsGroup: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Killzone Kid (talk | contribs) (see also) |
||
(10 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Command|= | {{Command|Comments= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | |arma3|Game= | ||
|1.58| | |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]], [[ctrlParent]], [[displayParent]], [[allControls]], [[allDisplays]] |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 08:36, 7 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
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