displayParent: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 $2")
m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>")
Line 14: Line 14:
|r1= [[Display]]
|r1= [[Display]]


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


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

Revision as of 11:01, 12 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