ctrlSetText: Difference between revisions

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



Revision as of 21:09, 1 June 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"]