Arma 3 Scripting

Command in GUI Control

ctrlParent

Also available as Markdown and JSON, or read the original wiki page.

Description

Returns the parent Display of the given control. For parent Controls group see ctrlParentControlsGroup.

Syntax

ctrlParent control

Parameters:

Returns: Display

Examples

Example 1

_display = ctrlParent _control;

See also

allControls · allDisplays · controlsGroupCtrl · ctrlDelete · ctrlModel · ctrlSetModel · ctrlPosition · ctrlSetPosition · ctrlClassName · ctrlModelScale · ctrlSetModelScale · ctrlModelDirAndUp · ctrlSetModelDirAndUp · displayParent · ctrlParentControlsGroup