ctrlSetTextColor: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(linked to progress bar page)
No edit summary
Line 41: Line 41:
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
<!-- CONTINUE Notes -->
<dl class="command_description">
<dd class="notedate">Posted on April 10, 2015 - 06:47 (UTC)</dd>
<dt class="note">[[User:Fight9|Fight9]]</dt>
<dd class="note">
When used on a [https://community.bistudio.com/wiki/DialogControls-ProgressBar RscProgress] control, remove the configured "texture" first. The two will affect each other. - Arma 3 v1.42
</dd>
</dl>
<!-- DISCONTINUE Notes -->

Revision as of 07:47, 10 April 2015

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
Sets text color of given control. Color is in format Color. As of Arma 3 v1.40 this command could also be used to change fill colour or the DialogControls-ProgressBar.
Groups:
Uncategorised

Syntax

Syntax:
display ctrlSetTextColor color
Parameters:
display: Control
color: Array
Return Value:
Nothing

Examples

Example 1:
_control ctrlSetTextColor [1, 0, 0, 1]

Additional Information

See also:
ctrlSetText

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section

Posted on April 10, 2015 - 06:47 (UTC)
Fight9
When used on a RscProgress control, remove the configured "texture" first. The two will affect each other. - Arma 3 v1.42