ctrlSetText: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 1: Line 1:
[[Category:Scripting Commands|C]]
[[Category:Scripting Commands|CTRLSETTEXT]]
[[Category:Scripting Commands OFP 1.97|C]]
[[Category:Scripting Commands OFP 1.97|CTRLSETTEXT]]
[[Category:Scripting Commands ArmA|C]]
[[Category:Scripting Commands ArmA|CTRLSETTEXT]]





Revision as of 13:48, 4 May 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"]