createDialog: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "\[\[[cC]ategory:[sS]cripting [cC]ommands\|[a-z A-Z 0-9_]+\]\]" to "") |
Lou Montana (talk | contribs) m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}") |
||
Line 21: | Line 21: | ||
[[if]] (!_ok) [[then]] {[[hint]] "Dialog couldn't be opened!"};</code> | [[if]] (!_ok) [[then]] {[[hint]] "Dialog couldn't be opened!"};</code> | ||
| | |seealso= [[displayCtrl]], [[createDisplay]], [[closeDialog]], [[dialog]], [[displayNull]], [[controlNull]], [[ctrlCreate]], [[displayParent]] | ||
}} | }} | ||
Revision as of 23:28, 16 February 2021
Description
- Description:
- Description needed
- Groups:
- GUI Control
Syntax
- Syntax:
- Syntax needed
- Parameters:
- dialogName: String - class name used in the description.ext / resource.cpp
- Return Value:
- Return value needed
Examples
- Example 1:
_ok = createDialog "RscDisplayGame"; if (!_ok) then {hint "Dialog couldn't be opened!"};
Additional Information
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
- Posted on July 29, 2017 - 09:04 (UTC)
- Killzone Kid
- A user dialog created with createDisplay over mission display (findDisplay 46) will stop display event handlers added to mission display from firing. However if it is created with createDialog then the event handlers continue to work.