ctrlTextColor: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \{\{GameCategory *\| *arma3 *\| *(New )?Scripting Commands\}\}" to "")
m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=]{12})" to "|$1=$2 |descr=$3")
Line 7: Line 7:
|gr1= GUI Control
|gr1= GUI Control


| Returns control's text color in [[Color|Color (RGBA)]] format (see [[ctrlSetTextColor]]).
|descr= Returns control's text color in [[Color|Color (RGBA)]] format (see [[ctrlSetTextColor]]).


|s1=  '''ctrlTextColor''' control
|s1=  '''ctrlTextColor''' control

Revision as of 22:01, 13 June 2021

Hover & click on the images for description

Description

Description:
Returns control's text color in Color (RGBA) format (see ctrlSetTextColor).
Groups:
GUI Control

Syntax

Syntax:
ctrlTextColor control
Parameters:
control: Control
Return Value:
Array - text color

Examples

Example 1:
ctrlTextColor _control

Additional Information

See also:
ctrlSetTextColorctrlText

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