ctrlSetTooltipColorBox: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|game([0-9]) ?= (.+) \|version([0-9]) ?= (.+) " to "|game$1= $2 |version$3= $4 ")
m (Text replacement - "(\|[pr][0-9]+ *= *[^-]+) *- *C([a-eg-z])" to "$1 - c$2")
 
(5 intermediate revisions by the same user not shown)
Line 20: Line 20:
|descr= Sets tooltip border color of given control.
|descr= Sets tooltip border color of given control.


|s1= control '''ctrlSetTooltipColorBox''' color
|s1= control [[ctrlSetTooltipColorBox]]  color


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


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


|r1= [[Nothing]]
|r1= [[Nothing]]
 
|x1= <code>_control [[ctrlSetTooltipColorBox]] [1, 0, 0, 1];</code>


|seealso= [[ctrlSetTooltip]], [[ctrlSetTooltipColorShade]], [[ctrlSetTooltipColorText]]
|x1= <sqf>_control ctrlSetTooltipColorBox [1, 0, 0, 1];</sqf>
 
|seealso= [[ctrlSetTooltip]] [[ctrlSetTooltipColorShade]] [[ctrlSetTooltipColorText]]
}}
}}

Latest revision as of 14:00, 8 November 2023

Hover & click on the images for description

Description

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

Syntax

Syntax:
control ctrlSetTooltipColorBox color
Parameters:
control: Control
color: Array - color in format in format Color (RGBA)
Return Value:
Nothing

Examples

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

Additional Information

See also:
ctrlSetTooltip ctrlSetTooltipColorShade ctrlSetTooltipColorText

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