ctrlSetText: 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"> '''ctrlSetText [''idc'', ''text'']'''</h2>
<h2 style="color:#000066"> '''ctrlSetText [''idc'', ''text'']'''</h2>

Revision as of 12:48, 23 April 2006


ctrlSetText [idc, text]


Operand types:

[idc, text]: Array

Type of returned value:

Nothing

Compatibility:

Added in version 1.50

Description:

Set text will be shown in control with id idc of topmost user dialog.

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


Example:

ctrlSetText [100, "Hello world"]