ctrlTextColor: Difference between revisions

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


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


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


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


| '''ctrlTextColor''' control |SYNTAX=
| '''ctrlTextColor''' control |SYNTAX=
Line 17: Line 14:


| [[Array]] - text color |RETURNVALUE=
| [[Array]] - text color |RETURNVALUE=
____________________________________________________________________________________________
   
   
|x1= <code>[[ctrlTextColor]] _control</code> |EXAMPLE1=
|x1= <code>[[ctrlTextColor]] _control</code> |EXAMPLE1=
____________________________________________________________________________________________


|[[ctrlSetTextColor]], [[ctrlText]]  |SEEALSO=
|[[ctrlSetTextColor]], [[ctrlText]]  |SEEALSO=

Revision as of 00:47, 17 January 2021

-wrong parameter ("arma3dev") defined!-[[:Category:Introduced with arma3dev version 2.01|2.01]]
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

[[Category:Introduced with arma3dev version 2.01]][[ Category: arma3dev: New Scripting Commands | CTRLTEXTCOLOR]][[ Category: arma3dev: Scripting Commands | CTRLTEXTCOLOR]]

Notes

Bottom Section