displayParent: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *(game[0-9]|version[0-9]|gr[0-9]|serverExec|mp|pr|descr|s[0-9]|p[0-9]{1,3}|r[0-9]|x1?[0-9]|seealso) *= +" to " |$1= ")
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
 
(16 intermediate revisions by 2 users not shown)
Line 8: Line 8:
|descr= Returns parent display of the given display.
|descr= Returns parent display of the given display.


|s1= '''displayParent''' display
|s1= [[displayParent]] display


|p1= display: [[Display]]
|p1= display: [[Display]]


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


|x1= <code>_display = [[displayParent]] [[findDisplay]] 49; // Display #46</code>
|x1= <sqf>_display = displayParent findDisplay 49; // Display #46</sqf>


|seealso= [[findDisplay]], [[displayCtrl]], [[createDisplay]], [[createDialog]], [[dialog]], [[displayNull]], [[ctrlCreate]], [[controlNull]], [[ctrlParent]], [[ctrlParentControlsGroup]], [[focusedCtrl]]
|seealso= [[displayChild]] [[findDisplay]] [[displayCtrl]] [[createDisplay]] [[createDialog]] [[dialog]] [[displayNull]] [[ctrlCreate]] [[controlNull]] [[ctrlParent]] [[ctrlParentControlsGroup]] [[focusedCtrl]]
}}
}}

Latest revision as of 10:22, 13 May 2022

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:
displayChild findDisplay displayCtrl createDisplay createDialog dialog displayNull ctrlCreate controlNull ctrlParent ctrlParentControlsGroup focusedCtrl

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