Display – Talk

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
 
m (Text replacement - "informations" to "information")
 
(7 intermediate revisions by 5 users not shown)
Line 1: Line 1:
What`s the difference between display and dialog?
What`s the difference between display and dialog?
:[[dialog]] is a scripting command returning a boolean. [[Display]] is a new datatype in ArmA that is returned by [[findDisplay]] for example --[[User:T D|T_D]] 15:12, 22 April 2007 (CEST)
::Let's rephrase the original posters question: what's the difference between [[Display]] and [[Dialog Control#Dialogs|Dialog]]? I've attempted to describe some superficial differences based on information from this wiki, but have no knowledge of the underlying mechanisms.. --[[User:Besselinksjm|Besselinksjm]] 13:46, 6 January 2010 (CET)
::Could the difference be that a Display is not interactive and just shows information whereas a Dialog is supposed to interact with the user? Just a thought... --[[User:T D|T_D]] 15:41, 6 January 2010 (CET)
:::They are the same thing. There isn't much use in trying to give different meanings to the two terms. Historically the two terms exist because dialogs were introduced in OFP, but later in Arma the concept was expanded, and the display data type and related commands were added. Now we have two terms referring to the same thing.
:::The only difference worth looking into is the difference between displays created via the createDialog command, vs those created via createDisplay. Both commands create displays; however the createDisplay command requires an existing display to already be on the screen, so you can create a "child" display of it (whatever that means). Put another way, you have to create the first display on the screen using createDialog, but then subsequent displays can be created using createDialog OR createDisplay. Both commands are creating displays, the difference is just in whatever the "parent/child" relationship means between two displays.
:::--[[User:General Barron|General Barron]] 23:38, 7 January 2010 (CET)

Latest revision as of 13:52, 6 June 2021

What`s the difference between display and dialog?

dialog is a scripting command returning a boolean. Display is a new datatype in ArmA that is returned by findDisplay for example --T_D 15:12, 22 April 2007 (CEST)
Let's rephrase the original posters question: what's the difference between Display and Dialog? I've attempted to describe some superficial differences based on information from this wiki, but have no knowledge of the underlying mechanisms.. --Besselinksjm 13:46, 6 January 2010 (CET)
Could the difference be that a Display is not interactive and just shows information whereas a Dialog is supposed to interact with the user? Just a thought... --T_D 15:41, 6 January 2010 (CET)


They are the same thing. There isn't much use in trying to give different meanings to the two terms. Historically the two terms exist because dialogs were introduced in OFP, but later in Arma the concept was expanded, and the display data type and related commands were added. Now we have two terms referring to the same thing.
The only difference worth looking into is the difference between displays created via the createDialog command, vs those created via createDisplay. Both commands create displays; however the createDisplay command requires an existing display to already be on the screen, so you can create a "child" display of it (whatever that means). Put another way, you have to create the first display on the screen using createDialog, but then subsequent displays can be created using createDialog OR createDisplay. Both commands are creating displays, the difference is just in whatever the "parent/child" relationship means between two displays.
--General Barron 23:38, 7 January 2010 (CET)