ctrlParentControlsGroup: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "|=GROUP1" to "|GROUP1=") |
Killzone Kid (talk | contribs) No edit summary |
||
Line 9: | Line 9: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Returns the parent control of a given child control. If the control is not part of a [[DialogControls-ControlsGroup|CT_CONTROLS_GROUP]] control then [[controlNull]] is returned. |DESCRIPTION= | | Returns the parent control of a given child control. If the control is not part of a [[DialogControls-ControlsGroup|CT_CONTROLS_GROUP]] control then [[controlNull]] is returned. To return parent [[Display]] of the control use [[ctrlParent]]. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 13:46, 7 October 2020
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. To return parent Display of the control use ctrlParent.
- Groups:
- GUI Control
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