displayParent: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| arma3 |Game name=
| arma3
|1.58|Game Version (number surrounded by NO SPACES)=
|1.58


|gr1= GUI Control |GROUP1=
|gr1= GUI Control


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


|  '''displayParent''' display |SYNTAX=
|  '''displayParent''' display


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


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


| [[findDisplay]], [[displayCtrl]], [[createDisplay]], [[createDialog]], [[dialog]], [[displayNull]], [[ctrlCreate]], [[controlNull]], [[ctrlParent]], [[ctrlParentControlsGroup]] |SEEALSO=
| [[findDisplay]], [[displayCtrl]], [[createDisplay]], [[createDialog]], [[dialog]], [[displayNull]], [[ctrlCreate]], [[controlNull]], [[ctrlParent]], [[ctrlParentControlsGroup]]


}}
}}

Revision as of 00:29, 18 January 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:
findDisplaydisplayCtrlcreateDisplaycreateDialogdialogdisplayNullctrlCreatecontrolNullctrlParentctrlParentControlsGroup

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