ctrlParentControlsGroup: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "$1$2</code>") |
Lou Montana (talk | contribs) m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^ ]*) ([^ ]*)<\/code>" to "<code>$1$2$3 $4</code>") |
||
Line 14: | Line 14: | ||
|r1= [[Control]] | |r1= [[Control]] | ||
|x1= <code>_ctrlCombo = _ctrl | |x1= <code>_ctrlCombo = _ctrl controlsGroupCtrl 100; // control | ||
ctrlParentControlsGroup _ctrlCombo; // parent control group (_ctrl)</code> | ctrlParentControlsGroup _ctrlCombo; // parent control group (_ctrl)</code> | ||
|seealso= [[controlsGroupCtrl]] [[ctrlParent]] [[displayParent]] [[allControls]] [[allDisplays]] | |seealso= [[controlsGroupCtrl]] [[ctrlParent]] [[displayParent]] [[allControls]] [[allDisplays]] | ||
}} | }} |
Revision as of 11:40, 12 May 2022
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