ctrlForegroundColor: Difference between revisions
Lou Montana (talk | contribs) m (Text replacement - "<code>\[\[([a-zA-Z0-9_]+)\]\] ([a-zA-Z0-9_]+);?<\/code>" to "<sqf>$1 $2;</sqf>") |
BrettMayson (talk | contribs) No edit summary |
||
| Line 12: | Line 12: | ||
|p1= control: [[Control]] | |p1= control: [[Control]] | ||
|r1= [[Array]] | |r1= [[Array]] format [[Color|Color (RGBA)]] | ||
|x1= <sqf>ctrlForegroundColor _control;</sqf> | |x1= <sqf>ctrlForegroundColor _control;</sqf> | ||
Revision as of 07:38, 2 January 2026
Description
- Description:
- Returns control's foreground color.
- Groups:
- GUI Control
Syntax
- Syntax:
- ctrlForegroundColor control
- Parameters:
- control: Control
- Return Value:
- Array format Color (RGBA)
Examples
- Example 1:
- ctrlForegroundColor _control;
Additional Information
- See also:
- ctrlSetForegroundColor ctrlText
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note