displayParent: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
 
(43 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{RV|type=command
____________________________________________________________________________________________


| A3 |= Game
|game1= arma3
|1.58|= Game Version (number surrounded by NO SPACES)
|version1= 1.58
____________________________________________________________________________________________


| Returns parent display of the given display. |DESCRIPTION=
|gr1= GUI Control
____________________________________________________________________________________________


| '''displayParent''' display |SYNTAX=
|descr= Returns parent display of the given display.


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


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


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


|x1= <sqf>_display = displayParent findDisplay 49; // Display #46</sqf>
|seealso= [[displayChild]] [[findDisplay]] [[displayCtrl]] [[createDisplay]] [[createDialog]] [[dialog]] [[displayNull]] [[ctrlCreate]] [[controlNull]] [[ctrlParent]] [[ctrlParentControlsGroup]] [[focusedCtrl]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Arma 3: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Latest revision as of 11: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