ctrlParent: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category\: ?Command[ _]Group\:.*\|\{\{uc\:\{\{PAGENAME\}\}\}\}\]\] " to "")
No edit summary
Line 9: Line 9:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Returns display the given control is created on. For parent controls group control see [[ctrlParentControlsGroup]]. |DESCRIPTION=
| Returns the parent [[Display]] of the given control. For parent [[Control]]s group see [[ctrlParentControlsGroup]]. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 14:05, 7 October 2020

-wrong parameter ("Arma") defined!-1.00
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

Notes

Bottom Section