ctrlText: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
[[Category:Scripting Commands ArmA|C]]
[[Category:Scripting Commands ArmA|C]]


back to [[Scripting_Reference#C|COMREF]]


<h2 style="color:#000066"> '''ctrlText ''idc'''''</h2>
<h2 style="color:#000066"> '''ctrlText ''idc'''''</h2>

Revision as of 12:49, 23 April 2006


ctrlText idc


Operand types:

idc: Number

Type of returned value:

String

Compatibility:

Added in version 1.50

Description:

Return text shown in control with id idc of topmost user dialog.

Can be used for static texts, buttons, edit lines and active texts.


Example:

_message = ctrlText 100