---
name: "lbSetPictureRightColor"
type: command
status: ok
groups: ["GUI Control - ListBox"]
arma3_since: "1.22"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/lbSetPictureRightColor
revid: 379532
updated: 2026-10-31T00:51:22Z
---

# lbSetPictureRightColor

*Command · GUI Control - ListBox · Arma 3 v1.22*

## Description

Sets the color of the second (right aligned) picture of the item with the given index of the listbox to the given color.
Color which consists from only zeros means disable this override.

## Syntax

```sqf
control lbSetPictureRightColor [index, color]
```

**Parameters:**

- `control`: [Control](../topics/Control.md)
- `index`: [Number](../topics/Number.md)
- `color`: [Color (RGBA)](../topics/Color.md)

**Returns:** [Nothing](../topics/Nothing.md)

## Examples

### Example 1

```sqf
_ctrl lbSetPictureRightColor [0, [1, 1, 1, 1]];
```

## See also

[lbAdd](../commands/lbAdd.md) · [lbClear](../commands/lbClear.md) · [lbColor](../commands/lbColor.md) · [lbSetPictureColorSelected](../commands/lbSetPictureColorSelected.md) · [lbCurSel](../commands/lbCurSel.md) · [lbData](../commands/lbData.md) · [lbDelete](../commands/lbDelete.md) · [lbIsSelected](../commands/lbIsSelected.md) · [lbPicture](../commands/lbPicture.md) · [lbSelection](../commands/lbSelection.md) · [lbSetColor](../commands/lbSetColor.md) · [lbSetCurSel](../commands/lbSetCurSel.md) · [lbSetData](../commands/lbSetData.md) · [lbSetSelected](../commands/lbSetSelected.md) · [lbSetTooltip](../commands/lbSetTooltip.md) · [lbSetValue](../commands/lbSetValue.md) · [lbSize](../commands/lbSize.md) · [lbSort](../commands/lbSort.md) · [lbSortByValue](../commands/lbSortByValue.md) · [lbText](../commands/lbText.md) · [lbValue](../commands/lbValue.md) · [lbSetPicture](../commands/lbSetPicture.md) · [lbSetPictureColor](../commands/lbSetPictureColor.md)

## Community notes

**ffur2007slx2_5** — 2014-09-10

More information on the [CT_LISTBOX](../topics/CT_LISTBOX.md) command family can be found [here](../topics/CT_LISTBOX.md#scripting-example).

<sub>Source: [BI Community Wiki — lbSetPictureRightColor](https://community.bistudio.com/wiki/lbSetPictureRightColor) (revision 379532).</sub>
