ctrlParentControlsGroup: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (see also)
m (formatted syntax)
Line 12: Line 12:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[ctrlParentControlsGroup]] [[Control]] |= Syntax
| [[ctrlParentControlsGroup]] ctrl |= Syntax


|p1= [[Control]] - Child control |= Parameter 1
|p1= ctrl: [[Control]] - Child control |= Parameter 1


|p2=  |= Parameter 2
|p2=  |= Parameter 2

Revision as of 17:22, 25 January 2017

Hover & click on the images for description

Description

Description:
Returns the parent control of a given child control
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