ctrlSetTextColorSecondary: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]2(\|.*)\]\]" to "{{GameCategory|arma2|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| ofp |Game name=
| ofp |Game name=
Line 7: Line 6:


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


| 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}}|DESCRIPTION=
____________________________________________________________________________________________


| control '''ctrlSetTextColorSecondary''' color |SYNTAX=
| control '''ctrlSetTextColorSecondary''' color |SYNTAX=
Line 19: Line 16:


| [[Nothing]] |RETURNVALUE=
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________
   
   
|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> |EXAMPLE1=
____________________________________________________________________________________________


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

Revision as of 00:38, 17 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

Notes

Bottom Section