ctrlText: 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|CTRLTEXT]]
[[Category:Scripting Commands|CTRLTEXT]]
[[Category:Scripting Commands OFP 1.97|CTRLTEXT]]
[[Category:Scripting Commands OFP 1.96|CTRLTEXT]]
[[Category:Scripting Commands ArmA|CTRLTEXT]]
[[Category:Scripting Commands ArmA|CTRLTEXT]]



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