displayParent: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Text replacement - " |r1=[[" to " |r1= [[")
Line 12: Line 12:
|p1= display: [[Display]]
|p1= display: [[Display]]


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


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

Revision as of 23:37, 7 August 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:
displayChildfindDisplaydisplayCtrlcreateDisplaycreateDialogdialogdisplayNullctrlCreatecontrolNullctrlParentctrlParentControlsGroupfocusedCtrl

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