dialog: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(see also)
m (template:command argument fix)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Tests whether any user dialog is open.|= Description
| Tests whether any user dialog is open.|DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[Boolean]] <nowiki>=</nowiki> [[dialog]] |= Syntax
| [[Boolean]] <nowiki>=</nowiki> [[dialog]] |SYNTAX=


| [[Boolean]] -   
| [[Boolean]] -   
true if a dialog is open, false if not |= Return value
true if a dialog is open, false if not |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>[[if]] (![[dialog]]) [[then]] {[[createDialog]] "Dialog1";};</code> |= Example 1
|x1= <code>[[if]] (![[dialog]]) [[then]] {[[createDialog]] "Dialog1";};</code> |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


|  [[displayCtrl]], [[createDisplay]], [[createDialog]], [[closeDialog]], [[displayNull]], [[controlNull]], [[createDisplay]], [[ctrlCreate]], [[displayParent]], [[Dialog Control]]  |= See also
|  [[displayCtrl]], [[createDisplay]], [[createDialog]], [[closeDialog]], [[displayNull]], [[controlNull]], [[createDisplay]], [[ctrlCreate]], [[displayParent]], [[Dialog Control]]  |SEEALSO=


}}
}}

Revision as of 14:37, 7 April 2019

Hover & click on the images for description

Description

Description:
Tests whether any user dialog is open.
Groups:
Uncategorised

Syntax

Syntax:
Boolean = dialog
Return Value:
Boolean - true if a dialog is open, false if not

Examples

Example 1:
if (!dialog) then {createDialog "Dialog1";};

Additional Information

See also:
displayCtrlcreateDisplaycreateDialogcloseDialogdisplayNullcontrolNullcreateDisplayctrlCreatedisplayParentDialog Control

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