ctrlSetTextColorSecondary: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| ofp |Game name=
| ofp


|1.?|Game version=
|1.?


|gr1= GUI Control |GROUP1=
|gr1= GUI Control


| Sets the secondary text color of a text control.  {{TODO|Check when it was introduced and change categories accordingly}}|DESCRIPTION=
| Sets the secondary text color of a text control.  {{TODO|Check when it was introduced and change categories accordingly}}


| control '''ctrlSetTextColorSecondary''' color |SYNTAX=
| control '''ctrlSetTextColorSecondary''' color


|p1= control: [[Control]] - Text control |PARAMETER1=
|p1= control: [[Control]] - Text control


|p2= color: [[Array]] - Color in format RGBA |PARAMETER2=
|p2= color: [[Array]] - Color in format RGBA


| [[Nothing]] |RETURNVALUE=
| [[Nothing]]
   
   
|x1= <code>_ctrlText [[ctrlSetTextColorSecondary]] [1, 0.5, 0.1, 0.5];</code> |EXAMPLE1=
|x1= <code>_ctrlText [[ctrlSetTextColorSecondary]] [1, 0.5, 0.1, 0.5];</code>


| [[ctrlTextSecondary]] [[ctrlSetText]] [[ctrlText]] [[ctrlSetTextSecondary]] |SEEALSO=
| [[ctrlTextSecondary]] [[ctrlSetText]] [[ctrlText]] [[ctrlSetTextSecondary]]
}}
}}



Revision as of 00:30, 18 January 2021

Hover & click on the images for description

Description

Description:
Sets the secondary text color of a text control. Template:TODO
Groups:
GUI Control

Syntax

Syntax:
control ctrlSetTextColorSecondary color
Parameters:
control: Control - Text control
color: Array - Color in format RGBA
Return Value:
Nothing

Examples

Example 1:
_ctrlText ctrlSetTextColorSecondary [1, 0.5, 0.1, 0.5];

Additional Information

See also:
ctrlTextSecondary ctrlSetText ctrlText ctrlSetTextSecondary

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

Bottom Section