ctrlParentControlsGroup: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "|=GROUP1" to "|GROUP1=")
Line 6: Line 6:
|1.58|Game Version=
|1.58|Game Version=


|gr1= GUI Control |=GROUP1
|gr1= GUI Control |GROUP1=
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 15:30, 24 September 2020

Hover & click on the images for description

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:
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

See also:
controlsGroupCtrlctrlParentdisplayParentallControlsallDisplays

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

Bottom Section