displayParent: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *(([^=\| ]+)('''|\[\[)([^=\| ]+)) * \|p1=" to " |s1= $1 |p1=")
m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=0-9]{12})" to "|$1=$2 |descr=$3")
Line 6: Line 6:
|gr1= GUI Control
|gr1= GUI Control


| Returns parent display of the given display.
|descr= Returns parent display of the given display.


|s1=  '''displayParent''' display
|s1=  '''displayParent''' display

Revision as of 22:03, 13 June 2021

Hover & click on the images for description

Description

Description:
Returns parent display of the given display.
Groups:
GUI Control

Syntax

Syntax:
displayParent display
Parameters:
display: Display
Return Value:
Display

Examples

Example 1:
_display = displayParent findDisplay 49; // Display #46

Additional Information

See also:
findDisplaydisplayCtrlcreateDisplaycreateDialogdialogdisplayNullctrlCreatecontrolNullctrlParentctrlParentControlsGroupfocusedCtrl

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