ctrlTextColor: 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


| arma3dev |Game name=
| arma3dev


|2.01|Game version=
|2.01


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


| 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]]).


| '''ctrlTextColor''' control |SYNTAX=
| '''ctrlTextColor''' control


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


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


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


}}
}}

Revision as of 01:28, 18 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]]

Bottom Section