ctrlParentControlsGroup: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|PARAMETER1=5" to "|PARAMETER15=")
m (Text replacement - "|PARAMETER1=1" to "|PARAMETER11=")
Line 34: Line 34:
|p10=  |PARAMETER1=0
|p10=  |PARAMETER1=0


|p11=  |PARAMETER1=1
|p11=  |PARAMETER11=


|p12=  |PARAMETER1=2
|p12=  |PARAMETER1=2

Revision as of 21:01, 1 October 2019

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

Bottom Section