ctrlSetTooltipColorText: Difference between revisions

From Bohemia Interactive Community
m (Text replacement - " \{\{GameCategory\|[a-z]+[0-9]?\|Scripting Commands\}\}" to "")
mNo edit summary
 
(6 intermediate revisions by one other user not shown)
Line 18: Line 18:
|gr1= GUI Control
|gr1= GUI Control


|descr= Sets tooltip text color of given control. Color is in format [[Color|Color (RGBA)]].
|descr= Sets tooltip text color of given control.


|s1= display '''ctrlSetTooltipColorText''' color
|s1= display [[ctrlSetTooltipColorText]] color


|p1= display: [[Control]]
|p1= display: [[Control]]


|p2= color: [[Array]]
|p2= color: [[Color|Color (RGBA)]]


|r1=[[Nothing]]
|r1= [[Nothing]]


|x1= <code>_control [[ctrlSetTooltipColorText]] [1, 0, 0, 1]</code>
|x1= <sqf>_control ctrlSetTooltipColorText [1, 0, 0, 1];</sqf>


|seealso= [[ctrlSetTooltip]], [[ctrlSetTooltipColorBox]], [[ctrlSetTooltipColorShade]]
|seealso= [[ctrlSetTooltip]] [[ctrlSetTooltipColorBox]] [[ctrlSetTooltipColorShade]]
}}
}}

Latest revision as of 11:47, 1 January 2026

Hover & click on the images for description

Description

Description:
Sets tooltip text color of given control.
Groups:
GUI Control

Syntax

Syntax:
display ctrlSetTooltipColorText color
Parameters:
display: Control
color: Color (RGBA)
Return Value:
Nothing

Examples

Example 1:
_control ctrlSetTooltipColorText [1, 0, 0, 1];

Additional Information

See also:
ctrlSetTooltip ctrlSetTooltipColorBox ctrlSetTooltipColorShade

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note