ctrlParent: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|s1= +" to "|s1= ")
m (Text replacement - " |r1=[[" to " |r1= [[")
Line 24: Line 24:
|p1= control: [[Control]]
|p1= control: [[Control]]


|r1=[[Display]]
|r1= [[Display]]


|x1= <code>_display = [[ctrlParent]] _control</code>
|x1= <code>_display = [[ctrlParent]] _control</code>

Revision as of 23:38, 7 August 2021

Hover & click on the images for description

Description

Description:
Returns the parent Display of the given control. For parent Controls group see ctrlParentControlsGroup.
Groups:
GUI Control

Syntax

Syntax:
ctrlParent control
Parameters:
control: Control
Return Value:
Display

Examples

Example 1:
_display = ctrlParent _control

Additional Information

See also:
allControlsallDisplayscontrolsGroupCtrlctrlDeletectrlModelctrlSetModelctrlPositionctrlSetPositionctrlClassNamectrlModelScalectrlSetModelScalectrlModelDirAndUpctrlSetModelDirAndUpdisplayParentctrlParentControlsGroup

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